From 17c9283912be88cf819640e212938f3193e690b1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 13 Sep 2020 23:22:52 -0700 Subject: [PATCH 01/36] build(deps): bump @types/node from 14.10.0 to 14.10.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.0 to 14.10.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index f5af8d6d4..6f6dfe37c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.10.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.0.tgz", - "integrity": "sha512-SOIyrdADB4cq6eY1F+9iU48iIomFAPltu11LCvA9PKcyEwHadjCFzNVPotAR+oEJA0bCP4Xvvgy+vwu1ZjVh8g==" + "version": "14.10.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.1.tgz", + "integrity": "sha512-aYNbO+FZ/3KGeQCEkNhHFRIzBOUgc7QvcVNKXbfnhDkSfwUv91JsQQa10rDgKSTSLkXZ1UIyPe4FJJNVgw1xWQ==" }, "@types/normalize-package-data": { "version": "2.4.0", From f275d74ba7846833e3b86c076eb392f977fbca16 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2020 09:21:00 -0700 Subject: [PATCH 02/36] build(deps): bump @types/node from 14.10.1 to 14.10.2 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.1 to 14.10.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6f6dfe37c..191f4b2aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.10.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.1.tgz", - "integrity": "sha512-aYNbO+FZ/3KGeQCEkNhHFRIzBOUgc7QvcVNKXbfnhDkSfwUv91JsQQa10rDgKSTSLkXZ1UIyPe4FJJNVgw1xWQ==" + "version": "14.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.2.tgz", + "integrity": "sha512-IzMhbDYCpv26pC2wboJ4MMOa9GKtjplXfcAqrMeNJpUUwpM/2ATt2w1JPUXwS6spu856TvKZL2AOmeU2rAxskw==" }, "@types/normalize-package-data": { "version": "2.4.0", From ded60e6a43c07d2900a84e7f0f201a8ee0555a0c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2020 09:21:38 -0700 Subject: [PATCH 03/36] build(deps-dev): bump prettier from 2.1.1 to 2.1.2 Bumps [prettier](https://github.com/prettier/prettier) from 2.1.1 to 2.1.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 191f4b2aa..3ac7a56cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9546,9 +9546,9 @@ "dev": true }, "prettier": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.1.tgz", - "integrity": "sha512-9bY+5ZWCfqj3ghYBLxApy2zf6m+NJo5GzmLTpr9FsApsfjriNnS2dahWReHMi7qNPhhHl9SYHJs2cHZLgexNIw==", + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz", + "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==", "dev": true }, "private": { From 77c537298c7ffb49791e2398013d4e116dc03a59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2020 08:36:00 -0700 Subject: [PATCH 04/36] build(deps): bump @types/node from 14.10.2 to 14.10.3 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.2 to 14.10.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3ac7a56cf..a79f2717d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.2.tgz", - "integrity": "sha512-IzMhbDYCpv26pC2wboJ4MMOa9GKtjplXfcAqrMeNJpUUwpM/2ATt2w1JPUXwS6spu856TvKZL2AOmeU2rAxskw==" + "version": "14.10.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.3.tgz", + "integrity": "sha512-zdN0hor7TLkjAdKTnYW+Y22oIhUUpil5ZD1V1OFq0CR0CLKw+NdR6dkziTfkWRLo6sKzisayoj/GNpNbe4LY9Q==" }, "@types/normalize-package-data": { "version": "2.4.0", From b45b5121c813ad55c04eb3afe8ad4250c0ca96da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2020 22:21:01 -0700 Subject: [PATCH 05/36] build(deps-dev): bump semantic-release from 17.1.1 to 17.1.2 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.1.1 to 17.1.2. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.1.1...v17.1.2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 264 ++++++++++++++++++++-------------------------- 1 file changed, 112 insertions(+), 152 deletions(-) diff --git a/package-lock.json b/package-lock.json index a79f2717d..e646de576 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1038,9 +1038,9 @@ }, "dependencies": { "@octokit/types": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.0.1.tgz", - "integrity": "sha512-GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliabA==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", + "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "dev": true, "requires": { "@types/node": ">= 8" @@ -1063,9 +1063,9 @@ }, "dependencies": { "@octokit/types": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.0.1.tgz", - "integrity": "sha512-GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliabA==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", + "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "dev": true, "requires": { "@types/node": ">= 8" @@ -1124,18 +1124,18 @@ } }, "@octokit/plugin-paginate-rest": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.2.3.tgz", - "integrity": "sha512-eKTs91wXnJH8Yicwa30jz6DF50kAh7vkcqCQ9D7/tvBAP5KKkg6I2nNof8Mp/65G0Arjsb4QcOJcIEQY+rK1Rg==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.4.0.tgz", + "integrity": "sha512-YT6Klz3LLH6/nNgi0pheJnUmTFW4kVnxGft+v8Itc41IIcjl7y1C8TatmKQBbCSuTSNFXO5pCENnqg6sjwpJhg==", "dev": true, "requires": { - "@octokit/types": "^5.0.0" + "@octokit/types": "^5.5.0" }, "dependencies": { "@octokit/types": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.0.1.tgz", - "integrity": "sha512-GorvORVwp244fGKEt3cgt/P+M0MGy4xEDbckw+K5ojEezxyMDgCaYPKVct+/eWQfZXOT7uq0xRpmrl/+hliabA==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", + "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "dev": true, "requires": { "@types/node": ">= 8" @@ -1617,9 +1617,9 @@ "dev": true }, "@semantic-release/github": { - "version": "7.0.7", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-7.0.7.tgz", - "integrity": "sha512-Sai2UucYQ+5rJzKVEVJ4eiZNDdoo0/CzfpValBdeU5h97uJE7t4CoBTmUWkiXlPOx46CSw1+JhI+PHC1PUxVZw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-7.1.1.tgz", + "integrity": "sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==", "dev": true, "requires": { "@octokit/rest": "^17.0.0", @@ -1641,9 +1641,9 @@ } }, "@semantic-release/npm": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-7.0.5.tgz", - "integrity": "sha512-D+oEmsx9aHE1q806NFQwSC9KdBO8ri/VO99eEz0wWbX2jyLqVyWr7t0IjKC8aSnkkQswg/4KN/ZjfF6iz1XOpw==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-7.0.6.tgz", + "integrity": "sha512-F4judxdeLe8f7+vDva1TkqNc5Tb2tcltZYW0tLtvP2Xt7CD/gGiz7UxAWEOPsXBvIqAP+uTidvGLPl9U3/uRoQ==", "dev": true, "requires": { "@semantic-release/error": "^2.2.0", @@ -1653,7 +1653,7 @@ "lodash": "^4.17.15", "nerf-dart": "^1.0.0", "normalize-url": "^5.0.0", - "npm": "^6.10.3", + "npm": "^6.13.0", "rc": "^1.2.8", "read-pkg": "^5.0.0", "registry-auth-token": "^4.0.0", @@ -1673,9 +1673,9 @@ } }, "execa": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.2.tgz", - "integrity": "sha512-QI2zLa6CjGWdiQsmSkZoGtDx2N+cQIGb3yNolGTdjSQzydzLgYYf8LRuagp7S7fPimjcrzUDSUFd/MgzELMi4Q==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", + "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -1690,9 +1690,9 @@ } }, "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { "pump": "^3.0.0" @@ -1714,14 +1714,14 @@ } }, "parse-json": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", - "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", + "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1", + "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, @@ -1800,9 +1800,9 @@ }, "dependencies": { "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { "pump": "^3.0.0" @@ -1918,18 +1918,18 @@ "dev": true }, "agent-base": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.0.tgz", - "integrity": "sha512-j1Q7cSCqN+AwrmDd+pzgqc0/NpC655x2bUf5ZjRIO77DcNBFmh+OgRNzF6OKdCC9RSCb19fGd99+bhXFdkRNqw==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.1.tgz", + "integrity": "sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg==", "dev": true, "requires": { "debug": "4" } }, "aggregate-error": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.0.1.tgz", - "integrity": "sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", "dev": true, "requires": { "clean-stack": "^2.0.0", @@ -2609,33 +2609,6 @@ "requires": { "compare-func": "^2.0.0", "q": "^1.5.1" - }, - "dependencies": { - "compare-func": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", - "dev": true, - "requires": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" - } - }, - "dot-prop": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz", - "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==", - "dev": true, - "requires": { - "is-obj": "^2.0.0" - } - }, - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true - } } }, "conventional-changelog-writer": { @@ -2789,16 +2762,10 @@ "trim-off-newlines": "^1.0.0" }, "dependencies": { - "arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true - }, "camelcase": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz", - "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "camelcase-keys": { @@ -2810,14 +2777,6 @@ "camelcase": "^5.3.1", "map-obj": "^4.0.0", "quick-lru": "^4.0.1" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - } } }, "indent-string": { @@ -2833,18 +2792,16 @@ "dev": true }, "meow": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.0.1.tgz", - "integrity": "sha512-tBKIQqVrAHqwit0vfuFPY3LlzJYkEOFyKa3bPgxzNl6q/RtN8KQ+ALYEASYuFayzSAsjlhXj/JZ10rH85Q6TUw==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", + "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", "dev": true, "requires": { "@types/minimist": "^1.2.0", - "arrify": "^2.0.1", - "camelcase": "^6.0.0", "camelcase-keys": "^6.2.2", "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", - "minimist-options": "^4.0.2", + "minimist-options": "4.1.0", "normalize-package-data": "^2.5.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", @@ -2862,14 +2819,6 @@ "arrify": "^1.0.1", "is-plain-obj": "^1.1.0", "kind-of": "^6.0.3" - }, - "dependencies": { - "arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "dev": true - } } }, "quick-lru": { @@ -2911,14 +2860,6 @@ "requires": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - } } } } @@ -2970,14 +2911,14 @@ }, "dependencies": { "parse-json": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", - "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", + "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1", + "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, @@ -3185,20 +3126,12 @@ } }, "dot-prop": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz", - "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", "dev": true, "requires": { "is-obj": "^2.0.0" - }, - "dependencies": { - "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true - } } }, "duplexer2": { @@ -3265,9 +3198,9 @@ } }, "execa": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.2.tgz", - "integrity": "sha512-QI2zLa6CjGWdiQsmSkZoGtDx2N+cQIGb3yNolGTdjSQzydzLgYYf8LRuagp7S7fPimjcrzUDSUFd/MgzELMi4Q==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", + "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -3282,9 +3215,9 @@ } }, "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { "pump": "^3.0.0" @@ -4273,6 +4206,12 @@ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true + }, "is-observable": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz", @@ -4470,6 +4409,12 @@ "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", "dev": true }, + "json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, "json-schema-ref-parser": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-9.0.1.tgz", @@ -5026,9 +4971,9 @@ "dev": true }, "marked": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-1.1.0.tgz", - "integrity": "sha512-EkE7RW6KcXfMHy2PA7Jg0YJE1l8UPEZE8k45tylzmZM30/r1M1MUXWQfJlrSbsTeh7m/XTwHbWUENvAJZpp1YA==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/marked/-/marked-1.1.1.tgz", + "integrity": "sha512-mJzT8D2yPxoPh7h0UXkB+dBj4FykPJ2OIfxAWeIHrvoHDkFxukV/29QxoFQoPM6RLEwhIFdJpmKBlqVM3s2ZIw==", "dev": true }, "marked-terminal": { @@ -5087,9 +5032,9 @@ "dev": true }, "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -5344,9 +5289,9 @@ } }, "normalize-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-5.0.0.tgz", - "integrity": "sha512-bAEm2fx8Dq/a35Z6PIRkkBBJvR56BbEJvhpNtvCZ4W9FyORSna77fn+xtYFjqk5JpBS+fMnAOG/wFgkQBmB7hw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-5.1.0.tgz", + "integrity": "sha512-UxHuSWsSAmzSqN+DSjasaZWQ3QPtEisHdlr4y9MJ5zg0RcImv5fQt8QM0izJSCdsdmhJGK+ubcTpJXwVDmwSVQ==", "dev": true }, "np": { @@ -9994,9 +9939,9 @@ "dev": true }, "semantic-release": { - "version": "17.1.1", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.1.1.tgz", - "integrity": "sha512-9H+207eynBJElrQBHySZm+sIEoJeUhPA2zU4cdlY1QSInd2lnE8GRD2ALry9EassE22c9WW+aCREwBhro5AIIg==", + "version": "17.1.2", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.1.2.tgz", + "integrity": "sha512-szYBXm10QjQO5Tb1S2PSkvOBW3MajWJat5EWtx+MzaVT/jquuxf9o+Zn8FC1j157xvJ5p9r1d/MZGslgs7oQQg==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", @@ -10041,9 +9986,9 @@ } }, "execa": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.2.tgz", - "integrity": "sha512-QI2zLa6CjGWdiQsmSkZoGtDx2N+cQIGb3yNolGTdjSQzydzLgYYf8LRuagp7S7fPimjcrzUDSUFd/MgzELMi4Q==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", + "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -10058,21 +10003,21 @@ } }, "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { "pump": "^3.0.0" } }, "hosted-git-info": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.4.tgz", - "integrity": "sha512-4oT62d2jwSDBbLLFLZE+1vPuQ1h8p9wjrJ8Mqx5TjsyWmBMV5B13eJqn8pvluqubLf3cJPTfiYCIwNwDNmzScQ==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.5.tgz", + "integrity": "sha512-i4dpK6xj9BIpVOTboXIlKG9+8HMKggcrMX7WA24xZtKwX0TPelq/rbaS5rCKeNX8sJXZJGdSxpnEGtta+wismQ==", "dev": true, "requires": { - "lru-cache": "^5.1.1" + "lru-cache": "^6.0.0" } }, "is-stream": { @@ -10081,6 +10026,15 @@ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -10125,6 +10079,12 @@ "requires": { "isexe": "^2.0.0" } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true } } }, @@ -11122,9 +11082,9 @@ "dev": true }, "yargs": { - "version": "15.3.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.3.1.tgz", - "integrity": "sha512-92O1HWEjw27sBfgmXiixJWT5hRBp2eobqXicLtPBIDBhYB+1HpwZlXmbW2luivBJHBzki+7VyCLRtAkScbTBQA==", + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", "dev": true, "requires": { "cliui": "^6.0.0", @@ -11137,7 +11097,7 @@ "string-width": "^4.2.0", "which-module": "^2.0.0", "y18n": "^4.0.0", - "yargs-parser": "^18.1.1" + "yargs-parser": "^18.1.2" }, "dependencies": { "camelcase": { From 6cdadd50b6a7226c71b4a000719961c89e9eaae2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 17 Sep 2020 22:21:47 -0700 Subject: [PATCH 06/36] build(deps): bump @types/node from 14.10.3 to 14.11.1 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.10.3 to 14.11.1. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e646de576..856c16894 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.10.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.10.3.tgz", - "integrity": "sha512-zdN0hor7TLkjAdKTnYW+Y22oIhUUpil5ZD1V1OFq0CR0CLKw+NdR6dkziTfkWRLo6sKzisayoj/GNpNbe4LY9Q==" + "version": "14.11.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.1.tgz", + "integrity": "sha512-oTQgnd0hblfLsJ6BvJzzSL+Inogp3lq9fGgqRkMB/ziKMgEUaFl801OncOzUmalfzt14N0oPHMK47ipl+wbTIw==" }, "@types/normalize-package-data": { "version": "2.4.0", From 570a28ae928fd6fd86eb9677b39bfe7e38aafae4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2020 09:02:22 -0700 Subject: [PATCH 07/36] build(deps-dev): bump typescript from 4.0.2 to 4.0.3 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.2...v4.0.3) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 856c16894..ab5114121 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10747,9 +10747,9 @@ } }, "typescript": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.2.tgz", - "integrity": "sha512-e4ERvRV2wb+rRZ/IQeb3jm2VxBsirQLpQhdxplZ2MEzGvDkkMmPglecnNDfSUBivMjP93vRbngYYDQqQ/78bcQ==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", + "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, "uglify-js": { From 5aabf606c3509ff328e1f10cd235561fcf314826 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Sep 2020 09:02:35 -0700 Subject: [PATCH 08/36] build(deps-dev): bump typedoc from 0.19.1 to 0.19.2 Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.19.1 to 0.19.2. - [Release notes](https://github.com/TypeStrong/TypeDoc/releases) - [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.19.1...v0.19.2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index ab5114121..333fa0da7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3732,9 +3732,9 @@ "dev": true }, "highlight.js": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.1.2.tgz", - "integrity": "sha512-Q39v/Mn5mfBlMff9r+zzA+gWxRsCRKwEMvYTiisLr/XUiFI/4puWt0Ojdko3R3JCNWGdOWaA5g/Yxqa23kC5AA==", + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.2.0.tgz", + "integrity": "sha512-OryzPiqqNCfO/wtFo619W+nPYALM6u7iCQkum4bqRmmlcTikOkmlL06i009QelynBPAlNByTQU6cBB2cOBQtCw==", "dev": true }, "hook-std": { @@ -10699,14 +10699,14 @@ "dev": true }, "typedoc": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.19.1.tgz", - "integrity": "sha512-EqZpRJQUnkwHA1yBhaDExEXUZIiWKddkrDXhRcfUzpnu6pizxNmVTw5IZ3mu682Noa4zQCniE0YNjaAwHQodrA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.19.2.tgz", + "integrity": "sha512-oDEg1BLEzi1qvgdQXc658EYgJ5qJLVSeZ0hQ57Eq4JXy6Vj2VX4RVo18qYxRWz75ifAaYuYNBUCnbhjd37TfOg==", "dev": true, "requires": { "fs-extra": "^9.0.1", "handlebars": "^4.7.6", - "highlight.js": "^10.0.0", + "highlight.js": "^10.2.0", "lodash": "^4.17.20", "lunr": "^2.3.9", "marked": "^1.1.1", @@ -10714,7 +10714,7 @@ "progress": "^2.0.3", "semver": "^7.3.2", "shelljs": "^0.8.4", - "typedoc-default-themes": "^0.11.1" + "typedoc-default-themes": "^0.11.4" }, "dependencies": { "lodash": { @@ -10723,12 +10723,6 @@ "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, - "marked": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-1.1.1.tgz", - "integrity": "sha512-mJzT8D2yPxoPh7h0UXkB+dBj4FykPJ2OIfxAWeIHrvoHDkFxukV/29QxoFQoPM6RLEwhIFdJpmKBlqVM3s2ZIw==", - "dev": true - }, "semver": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", @@ -10738,13 +10732,10 @@ } }, "typedoc-default-themes": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.11.1.tgz", - "integrity": "sha512-1yl8pbhjrLywqGJx9TfT+wzP+ntudPYjgJdpCj+s5ed2etBkqZPOCBMKwpaN9o6pdoFQF195PggqWTLVEkaRQQ==", - "dev": true, - "requires": { - "lunr": "^2.3.9" - } + "version": "0.11.4", + "resolved": "https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.11.4.tgz", + "integrity": "sha512-Y4Lf+qIb9NTydrexlazAM46SSLrmrQRqWiD52593g53SsmUFioAsMWt8m834J6qsp+7wHRjxCXSZeiiW5cMUdw==", + "dev": true }, "typescript": { "version": "4.0.3", From acf3cdaa9e8ae33b924b5b18cd572379c050994b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Sep 2020 07:49:51 -0700 Subject: [PATCH 09/36] build(deps): bump @types/node from 14.11.1 to 14.11.2 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.1 to 14.11.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 333fa0da7..da166d734 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.1.tgz", - "integrity": "sha512-oTQgnd0hblfLsJ6BvJzzSL+Inogp3lq9fGgqRkMB/ziKMgEUaFl801OncOzUmalfzt14N0oPHMK47ipl+wbTIw==" + "version": "14.11.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", + "integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" }, "@types/normalize-package-data": { "version": "2.4.0", From c2b9cccd26a2bd10eb04189c8c695eeec79244fb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2020 09:20:36 -0700 Subject: [PATCH 10/36] build(deps): bump @types/node from 14.11.2 to 14.11.4 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.2 to 14.11.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index da166d734..011437466 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", - "integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" + "version": "14.11.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.4.tgz", + "integrity": "sha512-KmoLCUeW2cWKkEOQ0gQcECuqOc0g7B7zcmRPQNMT4ntNm0luKv3BTLcqIyWpTxkhLDzLTdMus11j/6DROaZdPw==" }, "@types/normalize-package-data": { "version": "2.4.0", From 7f3be775f1d163bd9cd8f0dc08fda19102434418 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Oct 2020 09:19:57 -0700 Subject: [PATCH 11/36] build(deps): bump @types/node from 14.11.4 to 14.11.5 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.4 to 14.11.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 011437466..e7f187a6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.4.tgz", - "integrity": "sha512-KmoLCUeW2cWKkEOQ0gQcECuqOc0g7B7zcmRPQNMT4ntNm0luKv3BTLcqIyWpTxkhLDzLTdMus11j/6DROaZdPw==" + "version": "14.11.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.5.tgz", + "integrity": "sha512-jVFzDV6NTbrLMxm4xDSIW/gKnk8rQLF9wAzLWIOg+5nU6ACrIMndeBdXci0FGtqJbP9tQvm6V39eshc96TO2wQ==" }, "@types/normalize-package-data": { "version": "2.4.0", From b6604f48edc8416f927c53a0f9a4a189b449c883 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 9 Oct 2020 08:56:25 -0700 Subject: [PATCH 12/36] build(deps): bump @types/node from 14.11.5 to 14.11.7 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.5 to 14.11.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7f187a6e..ed094b9da 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.5.tgz", - "integrity": "sha512-jVFzDV6NTbrLMxm4xDSIW/gKnk8rQLF9wAzLWIOg+5nU6ACrIMndeBdXci0FGtqJbP9tQvm6V39eshc96TO2wQ==" + "version": "14.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.7.tgz", + "integrity": "sha512-hSEXknS4KiayUdZ7401J/T6eykXHJkDEipnyQMJ4/GstK4kWjbHnwXlcpvIWfPKiEH1JU96DkbzJ1nHRmpmKLw==" }, "@types/normalize-package-data": { "version": "2.4.0", From c7f135532f47d19b70f8909e207c86969dcea998 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2020 09:06:22 -0700 Subject: [PATCH 13/36] build(deps): bump @types/node from 14.11.7 to 14.11.8 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.7 to 14.11.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ed094b9da..1205f1fd7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.7.tgz", - "integrity": "sha512-hSEXknS4KiayUdZ7401J/T6eykXHJkDEipnyQMJ4/GstK4kWjbHnwXlcpvIWfPKiEH1JU96DkbzJ1nHRmpmKLw==" + "version": "14.11.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.8.tgz", + "integrity": "sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxcUzsh2P2Pw==" }, "@types/normalize-package-data": { "version": "2.4.0", From 9e33265a092b0099ec69d3bd62ca9b6a27fdfc8f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2020 09:06:30 -0700 Subject: [PATCH 14/36] build(deps-dev): bump semantic-release from 17.1.2 to 17.2.0 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.1.2 to 17.2.0. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.1.2...v17.2.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 258 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 243 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1205f1fd7..720030621 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2058,6 +2058,12 @@ "integrity": "sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk=", "dev": true }, + "array-back": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", + "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", + "dev": true + }, "array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", @@ -2531,6 +2537,44 @@ "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", "dev": true }, + "command-line-args": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.1.1.tgz", + "integrity": "sha512-hL/eG8lrll1Qy1ezvkant+trihbGnaKaeEjj6Scyr3DN+RC7iQ5Rz84IeLERfAWDGo0HBSNAakczwgCilDXnWg==", + "dev": true, + "requires": { + "array-back": "^3.0.1", + "find-replace": "^3.0.0", + "lodash.camelcase": "^4.3.0", + "typical": "^4.0.0" + } + }, + "command-line-usage": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.0.tgz", + "integrity": "sha512-Ew1clU4pkUeo6AFVDFxCbnN7GIZfXl48HIOQeFQnkO3oOqvpI7wdqtLRwv9iOCZ/7A+z4csVZeiDdEcj8g6Wiw==", + "dev": true, + "requires": { + "array-back": "^4.0.0", + "chalk": "^2.4.2", + "table-layout": "^1.0.0", + "typical": "^5.2.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.1.tgz", + "integrity": "sha512-Z/JnaVEXv+A9xabHzN43FiiiWEE7gPCRXMrVmRm00tWbjZRul1iHm7ECzlyNq1p4a4ATXz+G9FJ3GqGOkOV3fg==", + "dev": true + }, + "typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true + } + } + }, "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -3477,6 +3521,77 @@ "to-regex-range": "^5.0.1" } }, + "find-duplicated-property-keys": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/find-duplicated-property-keys/-/find-duplicated-property-keys-1.2.2.tgz", + "integrity": "sha512-2nZXwD1Y1+QBXK5RJNH5WJHapYNrC5D/hvrnULU/XqdQbf/khJkeOsU41ezIQpPpCFhBzmU/LiHPS4yoXrNfVg==", + "dev": true, + "requires": { + "chalk": "4.1.0", + "command-line-args": "5.1.1", + "command-line-usage": "6.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "find-replace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", + "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", + "dev": true, + "requires": { + "array-back": "^3.0.1" + } + }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", @@ -4725,6 +4840,12 @@ "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", "dev": true }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", + "dev": true + }, "lodash.capitalize": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", @@ -4991,12 +5112,11 @@ }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -5289,9 +5409,9 @@ } }, "normalize-url": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-5.1.0.tgz", - "integrity": "sha512-UxHuSWsSAmzSqN+DSjasaZWQ3QPtEisHdlr4y9MJ5zg0RcImv5fQt8QM0izJSCdsdmhJGK+ubcTpJXwVDmwSVQ==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-5.3.0.tgz", + "integrity": "sha512-9/nOVLYYe/dO/eJeQUNaGUF4m4Z5E7cb9oNTKabH+bNf19mqj60txTcveQxL0GlcWLXCxkOu2/LwL8oW0idIDA==", "dev": true }, "np": { @@ -9716,6 +9836,12 @@ "esprima": "~4.0.0" } }, + "reduce-flatten": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", + "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", + "dev": true + }, "regenerate": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", @@ -9939,9 +10065,9 @@ "dev": true }, "semantic-release": { - "version": "17.1.2", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.1.2.tgz", - "integrity": "sha512-szYBXm10QjQO5Tb1S2PSkvOBW3MajWJat5EWtx+MzaVT/jquuxf9o+Zn8FC1j157xvJ5p9r1d/MZGslgs7oQQg==", + "version": "17.2.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.0.tgz", + "integrity": "sha512-o6mRtn1H4UG+7kabINjYlNj73x2WgDSnN78MDIjCaX/JrS+peQNr4w3cafRfZ/cB9s52SwRnps76VlqFp8t9LA==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", @@ -9955,6 +10081,7 @@ "env-ci": "^5.0.0", "execa": "^4.0.0", "figures": "^3.0.0", + "find-duplicated-property-keys": "^1.2.2", "find-versions": "^3.0.0", "get-stream": "^5.0.0", "git-log-parser": "^1.2.0", @@ -9966,7 +10093,7 @@ "micromatch": "^4.0.2", "p-each-series": "^2.1.0", "p-reduce": "^2.0.0", - "read-pkg-up": "^7.0.0", + "pkg-up": "^3.1.0", "resolve-from": "^5.0.0", "semver": "^7.3.2", "semver-diff": "^3.1.1", @@ -10002,6 +10129,15 @@ "strip-final-newline": "^2.0.0" } }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, "get-stream": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", @@ -10026,6 +10162,16 @@ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -10044,12 +10190,45 @@ "path-key": "^3.0.0" } }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, + "pkg-up": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", + "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, "semver": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", @@ -10475,6 +10654,32 @@ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", "dev": true }, + "table-layout": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.1.tgz", + "integrity": "sha512-dEquqYNJiGwY7iPfZ3wbXDI944iqanTSchrACLL2nOB+1r+h1Nzu2eH+DuPPvWvm5Ry7iAPeFlgEtP5bIp5U7Q==", + "dev": true, + "requires": { + "array-back": "^4.0.1", + "deep-extend": "~0.6.0", + "typical": "^5.2.0", + "wordwrapjs": "^4.0.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.1.tgz", + "integrity": "sha512-Z/JnaVEXv+A9xabHzN43FiiiWEE7gPCRXMrVmRm00tWbjZRul1iHm7ECzlyNq1p4a4ATXz+G9FJ3GqGOkOV3fg==", + "dev": true + }, + "typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true + } + } + }, "temp-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", @@ -10743,6 +10948,12 @@ "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, + "typical": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", + "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", + "dev": true + }, "uglify-js": { "version": "3.8.1", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.1.tgz", @@ -10987,6 +11198,24 @@ "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "dev": true }, + "wordwrapjs": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.0.tgz", + "integrity": "sha512-Svqw723a3R34KvsMgpjFBYCgNOSdcW3mQFK4wIfhGQhtaFVOJmdYoXgi63ne3dTlWgatVcUc7t4HtQ/+bUVIzQ==", + "dev": true, + "requires": { + "reduce-flatten": "^2.0.0", + "typical": "^5.0.0" + }, + "dependencies": { + "typical": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", + "dev": true + } + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -10999,12 +11228,11 @@ }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, From 64c1066c105cce7903aded9ff9ea6a17eaabe607 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2020 22:19:59 -0700 Subject: [PATCH 15/36] build(deps-dev): bump semantic-release from 17.2.0 to 17.2.1 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.2.0 to 17.2.1. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.0...v17.2.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 244 ++-------------------------------------------- 1 file changed, 7 insertions(+), 237 deletions(-) diff --git a/package-lock.json b/package-lock.json index 720030621..4701fa6ec 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2058,12 +2058,6 @@ "integrity": "sha1-oMoMvCmltz6Dbuvhy/bF4OTrgvk=", "dev": true }, - "array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "dev": true - }, "array-find-index": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", @@ -2537,44 +2531,6 @@ "integrity": "sha1-BDP0TYCWgP3rYO0mDxsMJi6CpAs=", "dev": true }, - "command-line-args": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.1.1.tgz", - "integrity": "sha512-hL/eG8lrll1Qy1ezvkant+trihbGnaKaeEjj6Scyr3DN+RC7iQ5Rz84IeLERfAWDGo0HBSNAakczwgCilDXnWg==", - "dev": true, - "requires": { - "array-back": "^3.0.1", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - } - }, - "command-line-usage": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.0.tgz", - "integrity": "sha512-Ew1clU4pkUeo6AFVDFxCbnN7GIZfXl48HIOQeFQnkO3oOqvpI7wdqtLRwv9iOCZ/7A+z4csVZeiDdEcj8g6Wiw==", - "dev": true, - "requires": { - "array-back": "^4.0.0", - "chalk": "^2.4.2", - "table-layout": "^1.0.0", - "typical": "^5.2.0" - }, - "dependencies": { - "array-back": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.1.tgz", - "integrity": "sha512-Z/JnaVEXv+A9xabHzN43FiiiWEE7gPCRXMrVmRm00tWbjZRul1iHm7ECzlyNq1p4a4ATXz+G9FJ3GqGOkOV3fg==", - "dev": true - }, - "typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true - } - } - }, "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -3521,77 +3477,6 @@ "to-regex-range": "^5.0.1" } }, - "find-duplicated-property-keys": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/find-duplicated-property-keys/-/find-duplicated-property-keys-1.2.2.tgz", - "integrity": "sha512-2nZXwD1Y1+QBXK5RJNH5WJHapYNrC5D/hvrnULU/XqdQbf/khJkeOsU41ezIQpPpCFhBzmU/LiHPS4yoXrNfVg==", - "dev": true, - "requires": { - "chalk": "4.1.0", - "command-line-args": "5.1.1", - "command-line-usage": "6.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "find-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", - "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", - "dev": true, - "requires": { - "array-back": "^3.0.1" - } - }, "find-up": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", @@ -4840,12 +4725,6 @@ "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", "dev": true }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=", - "dev": true - }, "lodash.capitalize": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/lodash.capitalize/-/lodash.capitalize-4.2.1.tgz", @@ -9836,12 +9715,6 @@ "esprima": "~4.0.0" } }, - "reduce-flatten": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", - "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", - "dev": true - }, "regenerate": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", @@ -10065,9 +9938,9 @@ "dev": true }, "semantic-release": { - "version": "17.2.0", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.0.tgz", - "integrity": "sha512-o6mRtn1H4UG+7kabINjYlNj73x2WgDSnN78MDIjCaX/JrS+peQNr4w3cafRfZ/cB9s52SwRnps76VlqFp8t9LA==", + "version": "17.2.1", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.1.tgz", + "integrity": "sha512-+xbLWsT9NoibeMMJw4te0pbY4q/Z1gt/vzhB0z9RRNGVyqCgQiK5NUJ11eW6etSyPZ9QFeAMnqO2dzscWUTy2w==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", @@ -10081,7 +9954,6 @@ "env-ci": "^5.0.0", "execa": "^4.0.0", "figures": "^3.0.0", - "find-duplicated-property-keys": "^1.2.2", "find-versions": "^3.0.0", "get-stream": "^5.0.0", "git-log-parser": "^1.2.0", @@ -10093,7 +9965,7 @@ "micromatch": "^4.0.2", "p-each-series": "^2.1.0", "p-reduce": "^2.0.0", - "pkg-up": "^3.1.0", + "read-pkg-up": "^7.0.0", "resolve-from": "^5.0.0", "semver": "^7.3.2", "semver-diff": "^3.1.1", @@ -10129,15 +10001,6 @@ "strip-final-newline": "^2.0.0" } }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, "get-stream": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", @@ -10148,9 +10011,9 @@ } }, "hosted-git-info": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.5.tgz", - "integrity": "sha512-i4dpK6xj9BIpVOTboXIlKG9+8HMKggcrMX7WA24xZtKwX0TPelq/rbaS5rCKeNX8sJXZJGdSxpnEGtta+wismQ==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.6.tgz", + "integrity": "sha512-VRvqVD5T6t9HdmNDWTwbi8H/EC722MemAhOSP5QvYAXpDAY0Nhu2I/i+bXsktu4sU5LVHSh/wmXtVU8bDtjedQ==", "dev": true, "requires": { "lru-cache": "^6.0.0" @@ -10162,16 +10025,6 @@ "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -10190,45 +10043,12 @@ "path-key": "^3.0.0" } }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, "path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, - "pkg-up": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-3.1.0.tgz", - "integrity": "sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - }, "semver": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", @@ -10654,32 +10474,6 @@ "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", "dev": true }, - "table-layout": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.1.tgz", - "integrity": "sha512-dEquqYNJiGwY7iPfZ3wbXDI944iqanTSchrACLL2nOB+1r+h1Nzu2eH+DuPPvWvm5Ry7iAPeFlgEtP5bIp5U7Q==", - "dev": true, - "requires": { - "array-back": "^4.0.1", - "deep-extend": "~0.6.0", - "typical": "^5.2.0", - "wordwrapjs": "^4.0.0" - }, - "dependencies": { - "array-back": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.1.tgz", - "integrity": "sha512-Z/JnaVEXv+A9xabHzN43FiiiWEE7gPCRXMrVmRm00tWbjZRul1iHm7ECzlyNq1p4a4ATXz+G9FJ3GqGOkOV3fg==", - "dev": true - }, - "typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true - } - } - }, "temp-dir": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz", @@ -10948,12 +10742,6 @@ "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", "dev": true }, - "typical": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", - "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", - "dev": true - }, "uglify-js": { "version": "3.8.1", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.1.tgz", @@ -11198,24 +10986,6 @@ "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", "dev": true }, - "wordwrapjs": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.0.tgz", - "integrity": "sha512-Svqw723a3R34KvsMgpjFBYCgNOSdcW3mQFK4wIfhGQhtaFVOJmdYoXgi63ne3dTlWgatVcUc7t4HtQ/+bUVIzQ==", - "dev": true, - "requires": { - "reduce-flatten": "^2.0.0", - "typical": "^5.0.0" - }, - "dependencies": { - "typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true - } - } - }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", From 0099e2a3739b7b8f3bec08f8ba8f871aa5a818c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Oct 2020 22:59:47 -0700 Subject: [PATCH 16/36] build(deps-dev): bump sort-keys from 4.0.0 to 4.1.0 Bumps [sort-keys](https://github.com/sindresorhus/sort-keys) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/sindresorhus/sort-keys/releases) - [Commits](https://github.com/sindresorhus/sort-keys/compare/v4.0.0...v4.1.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4701fa6ec..87e02959c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10205,9 +10205,9 @@ "dev": true }, "sort-keys": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-4.0.0.tgz", - "integrity": "sha512-hlJLzrn/VN49uyNkZ8+9b+0q9DjmmYcYOnbMQtpkLrYpPwRApDPZfmqbUfJnAA3sb/nRib+nDot7Zi/1ER1fuA==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-4.1.0.tgz", + "integrity": "sha512-/sRdxzkkPFUYiCrTr/2t+104nDc9AgDmEpeVYuvOWYQe3Djk1GWO6lVw3Vx2jfh1SsR0eehhd1nvFYlzt5e99w==", "dev": true, "requires": { "is-plain-obj": "^2.0.0" From 36a38701cd4aa3f0e9dfb134081f6019d0ed2559 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2020 08:07:09 -0700 Subject: [PATCH 17/36] build(deps): bump @types/node from 14.11.8 to 14.11.10 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.8 to 14.11.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 87e02959c..8ef87382b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.8.tgz", - "integrity": "sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxcUzsh2P2Pw==" + "version": "14.11.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.10.tgz", + "integrity": "sha512-yV1nWZPlMFpoXyoknm4S56y2nlTAuFYaJuQtYRAOU7xA/FJ9RY0Xm7QOkaYMMmr8ESdHIuUb6oQgR/0+2NqlyA==" }, "@types/normalize-package-data": { "version": "2.4.0", From c3ac984a70ae0f1f687ddba1090b4a8a34a56868 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2020 08:38:43 -0700 Subject: [PATCH 18/36] build(deps): bump @types/node from 14.11.10 to 14.14.0 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.10 to 14.14.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8ef87382b..328503269 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.11.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.10.tgz", - "integrity": "sha512-yV1nWZPlMFpoXyoknm4S56y2nlTAuFYaJuQtYRAOU7xA/FJ9RY0Xm7QOkaYMMmr8ESdHIuUb6oQgR/0+2NqlyA==" + "version": "14.14.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.0.tgz", + "integrity": "sha512-BfbIHP9IapdupGhq/hc+jT5dyiBVZ2DdeC5WwJWQWDb0GijQlzUFAeIQn/2GtvZcd2HVUU7An8felIICFTC2qg==" }, "@types/normalize-package-data": { "version": "2.4.0", From 695b4b1c8f0de3070b5b51f8619833a856bec5c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Oct 2020 23:39:06 -0700 Subject: [PATCH 19/36] build(deps): bump @types/node from 14.14.0 to 14.14.2 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.0 to 14.14.2. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 328503269..485e4f3b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.14.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.0.tgz", - "integrity": "sha512-BfbIHP9IapdupGhq/hc+jT5dyiBVZ2DdeC5WwJWQWDb0GijQlzUFAeIQn/2GtvZcd2HVUU7An8felIICFTC2qg==" + "version": "14.14.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.2.tgz", + "integrity": "sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg==" }, "@types/normalize-package-data": { "version": "2.4.0", From e50a909e66f9fa94f8b92198bb90242909cd7c56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2020 08:13:44 -0700 Subject: [PATCH 20/36] build(deps): bump @types/node from 14.14.2 to 14.14.3 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.2 to 14.14.3. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 485e4f3b5..d83fba8df 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.14.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.2.tgz", - "integrity": "sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg==" + "version": "14.14.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.3.tgz", + "integrity": "sha512-33/L34xS7HVUx23e0wOT2V1qPF1IrHgQccdJVm9uXGTB9vFBrrzBtkQymT8VskeKOxjz55MSqMv0xuLq+u98WQ==" }, "@types/normalize-package-data": { "version": "2.4.0", From d1fae90d36baed137ee7b9b7e22691d4bd1e19e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2020 07:57:59 -0700 Subject: [PATCH 21/36] build(deps): bump @types/node from 14.14.3 to 14.14.5 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.3 to 14.14.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index d83fba8df..96b68c555 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.14.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.3.tgz", - "integrity": "sha512-33/L34xS7HVUx23e0wOT2V1qPF1IrHgQccdJVm9uXGTB9vFBrrzBtkQymT8VskeKOxjz55MSqMv0xuLq+u98WQ==" + "version": "14.14.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.5.tgz", + "integrity": "sha512-H5Wn24s/ZOukBmDn03nnGTp18A60ny9AmCwnEcgJiTgSGsCO7k+NWP7zjCCbhlcnVCoI+co52dUAt9GMhOSULw==" }, "@types/normalize-package-data": { "version": "2.4.0", From eebd8a3853b0ede763faa28d63b2130b5aaf28f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2020 07:58:12 -0700 Subject: [PATCH 22/36] build(deps-dev): bump typescript from 4.0.3 to 4.0.5 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.3 to 4.0.5. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96b68c555..aacb0ca3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10737,9 +10737,9 @@ "dev": true }, "typescript": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz", - "integrity": "sha512-tEu6DGxGgRJPb/mVPIZ48e69xCn2yRmCgYmDugAVwmJ6o+0u1RI18eO7E7WBTLYLaEVVOhwQmcdhQHweux/WPg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz", + "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==", "dev": true }, "uglify-js": { From 0a255ddac26688ef9549390a86e74c73138bef04 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2020 11:13:34 -0700 Subject: [PATCH 23/36] build(deps): bump @types/node from 14.14.5 to 14.14.6 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.5 to 14.14.6. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index aacb0ca3c..c76e61165 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.14.5", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.5.tgz", - "integrity": "sha512-H5Wn24s/ZOukBmDn03nnGTp18A60ny9AmCwnEcgJiTgSGsCO7k+NWP7zjCCbhlcnVCoI+co52dUAt9GMhOSULw==" + "version": "14.14.6", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.6.tgz", + "integrity": "sha512-6QlRuqsQ/Ox/aJEQWBEJG7A9+u7oSYl3mem/K8IzxXG/kAGbV1YPD9Bg9Zw3vyxC/YP+zONKwy8hGkSt1jxFMw==" }, "@types/normalize-package-data": { "version": "2.4.0", From ff6089b362b18a199a2ec7b9965c19e932c6feba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2020 10:29:53 -0700 Subject: [PATCH 24/36] build(deps-dev): bump semantic-release from 17.2.1 to 17.2.2 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.2.1 to 17.2.2. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.1...v17.2.2) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 54 +++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index c76e61165..b1304a961 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1144,9 +1144,9 @@ } }, "@octokit/plugin-request-log": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.0.tgz", - "integrity": "sha512-ywoxP68aOT3zHCLgWZgwUJatiENeHE7xJzYjfz8WI0goynp96wETBF+d95b8g/uL4QmS6owPVlaxiz3wyMAzcw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.2.tgz", + "integrity": "sha512-oTJSNAmBqyDR41uSMunLQKMX0jmEXbwD1fpz8FG27lScV3RhtGfBa1/BBLym+PxcC16IBlF7KH9vP1BUYxA+Eg==", "dev": true }, "@octokit/plugin-rest-endpoint-methods": { @@ -1673,9 +1673,9 @@ } }, "execa": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", - "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -1918,9 +1918,9 @@ "dev": true }, "agent-base": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.1.tgz", - "integrity": "sha512-01q25QQDwLSsyfhrKbn8yuur+JNw0H+0Y4JiGIKd3z9aYk/w/2kxD/Upc+t2ZBBSUNff50VjPsSW2YxM8QYKVg==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", "dev": true, "requires": { "debug": "4" @@ -3198,9 +3198,9 @@ } }, "execa": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", - "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -3445,9 +3445,9 @@ } }, "fastq": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz", - "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.9.0.tgz", + "integrity": "sha512-i7FVWL8HhVY+CTkwFxkN2mk3h+787ixS5S63eb78diVRc1MCssarHq3W5cj0av7YDSwmaV928RNag+U1etRQ7w==", "dev": true, "requires": { "reusify": "^1.0.4" @@ -9905,9 +9905,9 @@ "dev": true }, "run-parallel": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz", - "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==", + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz", + "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==", "dev": true }, "rxjs": { @@ -9938,9 +9938,9 @@ "dev": true }, "semantic-release": { - "version": "17.2.1", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.1.tgz", - "integrity": "sha512-+xbLWsT9NoibeMMJw4te0pbY4q/Z1gt/vzhB0z9RRNGVyqCgQiK5NUJ11eW6etSyPZ9QFeAMnqO2dzscWUTy2w==", + "version": "17.2.2", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.2.tgz", + "integrity": "sha512-LNU68ud3a3oU46H11OThXaKAK430jGGGTIF4VsiP843kRmS6s8kVCceLRdi7yWWz/sCCMD0zygPTQV2Jw79J5g==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", @@ -9985,9 +9985,9 @@ } }, "execa": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/execa/-/execa-4.0.3.tgz", - "integrity": "sha512-WFDXGHckXPWZX19t1kCsXzOpqX9LWYNqn4C+HqZlk/V0imTkzJZqf87ZBhvpHaftERYknpk0fjSylnXVlVgI0A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { "cross-spawn": "^7.0.0", @@ -10011,9 +10011,9 @@ } }, "hosted-git-info": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.6.tgz", - "integrity": "sha512-VRvqVD5T6t9HdmNDWTwbi8H/EC722MemAhOSP5QvYAXpDAY0Nhu2I/i+bXsktu4sU5LVHSh/wmXtVU8bDtjedQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", + "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", "dev": true, "requires": { "lru-cache": "^6.0.0" From 656494de2469c269173c340c9b26f8c214fdf634 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2020 08:36:56 -0800 Subject: [PATCH 25/36] build(deps-dev): bump @octokit/graphql from 4.5.6 to 4.5.7 Bumps [@octokit/graphql](https://github.com/octokit/graphql.js) from 4.5.6 to 4.5.7. - [Release notes](https://github.com/octokit/graphql.js/releases) - [Commits](https://github.com/octokit/graphql.js/compare/v4.5.6...v4.5.7) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index b1304a961..7b4fbea7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1096,9 +1096,9 @@ } }, "@octokit/graphql": { - "version": "4.5.6", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.6.tgz", - "integrity": "sha512-Rry+unqKTa3svswT2ZAuqenpLrzJd+JTv89LTeVa5UM/5OX8o4KTkPL7/1ABq4f/ZkELb0XEK/2IEoYwykcLXg==", + "version": "4.5.7", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.5.7.tgz", + "integrity": "sha512-Gk0AR+DcwIK/lK/GX+OQ99UqtenQhcbrhHHfOYlrCQe17ADnX3EKAOKRsAZ9qZvpi5MuwWm/Nm+9aO2kTDSdyA==", "dev": true, "requires": { "@octokit/request": "^5.3.0", @@ -1107,9 +1107,9 @@ }, "dependencies": { "@octokit/types": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.4.1.tgz", - "integrity": "sha512-OlMlSySBJoJ6uozkr/i03nO5dlYQyE05vmQNZhAh9MyO4DPBP88QlwsDVLmVjIMFssvIZB6WO0ctIGMRG+xsJQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", + "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "dev": true, "requires": { "@types/node": ">= 8" From 050cf802cee690b3a20fa3045dafd8f17e3ab3af Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2020 22:28:55 -0800 Subject: [PATCH 26/36] build(deps): bump @types/node from 14.14.6 to 14.14.7 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.7. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7b4fbea7a..bc9bdb4ac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1879,9 +1879,9 @@ "dev": true }, "@types/node": { - "version": "14.14.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.6.tgz", - "integrity": "sha512-6QlRuqsQ/Ox/aJEQWBEJG7A9+u7oSYl3mem/K8IzxXG/kAGbV1YPD9Bg9Zw3vyxC/YP+zONKwy8hGkSt1jxFMw==" + "version": "14.14.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.7.tgz", + "integrity": "sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==" }, "@types/normalize-package-data": { "version": "2.4.0", From 75be4030c47bb6d8a768dd82fd5fc5c5759bc1db Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Nov 2020 08:26:02 -0800 Subject: [PATCH 27/36] build(deps-dev): bump semantic-release from 17.2.2 to 17.2.3 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.2.2 to 17.2.3. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.2...v17.2.3) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 366 ++++++++++++++++++++++++++++++++++------------ 1 file changed, 269 insertions(+), 97 deletions(-) diff --git a/package-lock.json b/package-lock.json index bc9bdb4ac..c6b732be8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1029,9 +1029,9 @@ } }, "@octokit/auth-token": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.2.tgz", - "integrity": "sha512-jE/lE/IKIz2v1+/P0u4fJqv0kYwXOTujKemJMFr6FeopsxlIK3+wKDCJGnysg81XID5TgZQbIfuJ5J0lnTiuyQ==", + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-2.4.3.tgz", + "integrity": "sha512-fdGoOQ3kQJh+hrilc0Plg50xSfaCKOeYN9t6dpJKXN9BxhhfquL0OzoQXg3spLYymL5rm29uPeI3KEXRaZQ9zg==", "dev": true, "requires": { "@octokit/types": "^5.0.0" @@ -1049,9 +1049,9 @@ } }, "@octokit/core": { - "version": "2.5.4", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-2.5.4.tgz", - "integrity": "sha512-HCp8yKQfTITYK+Nd09MHzAlP1v3Ii/oCohv0/TW9rhSLvzb98BOVs2QmVYuloE6a3l6LsfyGIwb6Pc4ycgWlIQ==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.2.1.tgz", + "integrity": "sha512-XfFSDDwv6tclUenS0EmB6iA7u+4aOHBT1Lz4PtQNQQg3hBbNaR/+Uv5URU+egeIuuGAiMRiDyY92G4GBOWOqDA==", "dev": true, "requires": { "@octokit/auth-token": "^2.4.0", @@ -1059,7 +1059,7 @@ "@octokit/request": "^5.4.0", "@octokit/types": "^5.0.0", "before-after-hook": "^2.1.0", - "universal-user-agent": "^5.0.0" + "universal-user-agent": "^6.0.0" }, "dependencies": { "@octokit/types": { @@ -1070,6 +1070,12 @@ "requires": { "@types/node": ">= 8" } + }, + "universal-user-agent": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true } } }, @@ -1124,9 +1130,9 @@ } }, "@octokit/plugin-paginate-rest": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.4.0.tgz", - "integrity": "sha512-YT6Klz3LLH6/nNgi0pheJnUmTFW4kVnxGft+v8Itc41IIcjl7y1C8TatmKQBbCSuTSNFXO5pCENnqg6sjwpJhg==", + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.6.0.tgz", + "integrity": "sha512-o+O8c1PqsC5++BHXfMZabRRsBIVb34tXPWyQLyp2IXq5MmkxdipS7TXM4Y9ldL1PzY9CTrCsn/lzFFJGM3oRRA==", "dev": true, "requires": { "@octokit/types": "^5.5.0" @@ -1150,19 +1156,19 @@ "dev": true }, "@octokit/plugin-rest-endpoint-methods": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-3.17.0.tgz", - "integrity": "sha512-NFV3vq7GgoO2TrkyBRUOwflkfTYkFKS0tLAPym7RNpkwLCttqShaEGjthOsPEEL+7LFcYv3mU24+F2yVd3npmg==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.2.1.tgz", + "integrity": "sha512-QyFr4Bv807Pt1DXZOC5a7L5aFdrwz71UHTYoHVajYV5hsqffWm8FUl9+O7nxRu5PDMtB/IKrhFqTmdBTK5cx+A==", "dev": true, "requires": { - "@octokit/types": "^4.1.6", + "@octokit/types": "^5.5.0", "deprecation": "^2.3.1" }, "dependencies": { "@octokit/types": { - "version": "4.1.10", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-4.1.10.tgz", - "integrity": "sha512-/wbFy1cUIE5eICcg0wTKGXMlKSbaAxEr00qaBXzscLXpqhcwgXeS6P8O0pkysBhRfyjkKjJaYrvR1ExMO5eOXQ==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", + "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "dev": true, "requires": { "@types/node": ">= 8" @@ -1209,15 +1215,15 @@ } }, "@octokit/rest": { - "version": "17.11.2", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-17.11.2.tgz", - "integrity": "sha512-4jTmn8WossTUaLfNDfXk4fVJgbz5JgZE8eCs4BvIb52lvIH8rpVMD1fgRCrHbSd6LRPE5JFZSfAEtszrOq3ZFQ==", + "version": "18.0.9", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-18.0.9.tgz", + "integrity": "sha512-CC5+cIx974Ygx9lQNfUn7/oXDQ9kqGiKUC6j1A9bAVZZ7aoTF8K6yxu0pQhQrLBwSl92J6Z3iVDhGhGFgISCZg==", "dev": true, "requires": { - "@octokit/core": "^2.4.3", + "@octokit/core": "^3.0.0", "@octokit/plugin-paginate-rest": "^2.2.0", "@octokit/plugin-request-log": "^1.0.0", - "@octokit/plugin-rest-endpoint-methods": "3.17.0" + "@octokit/plugin-rest-endpoint-methods": "4.2.1" } }, "@octokit/types": { @@ -1617,12 +1623,12 @@ "dev": true }, "@semantic-release/github": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-7.1.1.tgz", - "integrity": "sha512-w8CLCvGVKNe2FPOYQ68OFxFVNNha7YRzptnwTZYdjXYtgTDKw0XVfnMSd9NlJeQPYGfQmIhIVPNBU/cA6zUY0A==", + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-7.1.2.tgz", + "integrity": "sha512-0cbQAQgZRUPvYWeJ5OSw/bbOhe0tsFArylL2gue9V66q0JgFNOL6CONGd+X5CQxQP1+t+t3Lr9OomuE3QLZgtw==", "dev": true, "requires": { - "@octokit/rest": "^17.0.0", + "@octokit/rest": "^18.0.0", "@semantic-release/error": "^2.2.0", "aggregate-error": "^3.0.0", "bottleneck": "^2.18.1", @@ -1641,9 +1647,9 @@ } }, "@semantic-release/npm": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-7.0.6.tgz", - "integrity": "sha512-F4judxdeLe8f7+vDva1TkqNc5Tb2tcltZYW0tLtvP2Xt7CD/gGiz7UxAWEOPsXBvIqAP+uTidvGLPl9U3/uRoQ==", + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/@semantic-release/npm/-/npm-7.0.8.tgz", + "integrity": "sha512-8c1TLwKB/xT5E1FNs5l4GFtaNTznHesJk7tw3pGSlVxRqDXa1EZI+DfziZlO58Wk3PpS2ecu661kvBdz9aMgYQ==", "dev": true, "requires": { "@semantic-release/error": "^2.2.0", @@ -1653,12 +1659,12 @@ "lodash": "^4.17.15", "nerf-dart": "^1.0.0", "normalize-url": "^5.0.0", - "npm": "^6.13.0", + "npm": "^6.14.8", "rc": "^1.2.8", "read-pkg": "^5.0.0", "registry-auth-token": "^4.0.0", "semver": "^7.1.2", - "tempy": "^0.5.0" + "tempy": "^1.0.0" }, "dependencies": { "cross-spawn": { @@ -2602,9 +2608,9 @@ } }, "conventional-changelog-angular": { - "version": "5.0.11", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.11.tgz", - "integrity": "sha512-nSLypht/1yEflhuTogC03i7DX7sOrXGsRn14g131Potqi6cbGbGEE9PSDEHKldabB6N76HiSyw9Ph+kLmC04Qw==", + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.12.tgz", + "integrity": "sha512-5GLsbnkR/7A89RyHLvvoExbiGbd9xKdKqDTrArnPbOqBqG/2wIosu0fHwpeIRI8Tl94MhVNBXcLJZl92ZQ5USw==", "dev": true, "requires": { "compare-func": "^2.0.0", @@ -2612,21 +2618,21 @@ } }, "conventional-changelog-writer": { - "version": "4.0.17", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.17.tgz", - "integrity": "sha512-IKQuK3bib/n032KWaSb8YlBFds+aLmzENtnKtxJy3+HqDq5kohu3g/UdNbIHeJWygfnEbZjnCKFxAW0y7ArZAw==", + "version": "4.0.18", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-4.0.18.tgz", + "integrity": "sha512-mAQDCKyB9HsE8Ko5cCM1Jn1AWxXPYV0v8dFPabZRkvsiWUul2YyAqbIaoMKF88Zf2ffnOPSvKhboLf3fnjo5/A==", "dev": true, "requires": { "compare-func": "^2.0.0", - "conventional-commits-filter": "^2.0.6", + "conventional-commits-filter": "^2.0.7", "dateformat": "^3.0.0", "handlebars": "^4.7.6", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.15", - "meow": "^7.0.0", + "meow": "^8.0.0", "semver": "^6.0.0", "split": "^1.0.0", - "through2": "^3.0.0" + "through2": "^4.0.0" }, "dependencies": { "camelcase": { @@ -2646,12 +2652,30 @@ "quick-lru": "^4.0.1" } }, + "hosted-git-info": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", + "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "map-obj": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", @@ -2659,9 +2683,9 @@ "dev": true }, "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.0.0.tgz", + "integrity": "sha512-nbsTRz2fwniJBFgUkcdISq8y/q9n9VbiHYbfwklFh5V4V2uAcxtKQkDc0yCLPM/kP0d+inZBewn3zJqewHE7kg==", "dev": true, "requires": { "@types/minimist": "^1.2.0", @@ -2669,12 +2693,12 @@ "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", + "normalize-package-data": "^3.0.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" } }, "minimist-options": { @@ -2688,6 +2712,26 @@ "kind-of": "^6.0.3" } }, + "normalize-package-data": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz", + "integrity": "sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw==", + "dev": true, + "requires": { + "hosted-git-info": "^3.0.6", + "resolve": "^1.17.0", + "semver": "^7.3.2", + "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true + } + } + }, "quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", @@ -2704,6 +2748,16 @@ "strip-indent": "^3.0.0" } }, + "resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "dev": true, + "requires": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + } + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -2725,22 +2779,24 @@ "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", "dev": true }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true } } }, "conventional-commits-filter": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.6.tgz", - "integrity": "sha512-4g+sw8+KA50/Qwzfr0hL5k5NWxqtrOVw4DDk3/h6L85a9Gz0/Eqp3oP+CWCNfesBvZZZEFHF7OTEbRe+yYSyKw==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", + "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", "dev": true, "requires": { "lodash.ismatch": "^4.4.0", @@ -2748,17 +2804,17 @@ } }, "conventional-commits-parser": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.1.0.tgz", - "integrity": "sha512-RSo5S0WIwXZiRxUGTPuYFbqvrR4vpJ1BDdTlthFgvHt5kEdnd1+pdvwWphWn57/oIl4V72NMmOocFqqJ8mFFhA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.0.tgz", + "integrity": "sha512-XmJiXPxsF0JhAKyfA2Nn+rZwYKJ60nanlbSWwwkGwLQFbugsc0gv1rzc7VbbUWAzJfR1qR87/pNgv9NgmxtBMQ==", "dev": true, "requires": { "JSONStream": "^1.0.4", "is-text-path": "^1.0.1", "lodash": "^4.17.15", - "meow": "^7.0.0", + "meow": "^8.0.0", "split2": "^2.0.0", - "through2": "^3.0.0", + "through2": "^4.0.0", "trim-off-newlines": "^1.0.0" }, "dependencies": { @@ -2779,12 +2835,30 @@ "quick-lru": "^4.0.1" } }, + "hosted-git-info": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", + "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, "indent-string": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", "dev": true }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, "map-obj": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", @@ -2792,9 +2866,9 @@ "dev": true }, "meow": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/meow/-/meow-7.1.1.tgz", - "integrity": "sha512-GWHvA5QOcS412WCo8vwKDlTelGLsCGBVevQB5Kva961rmNfun0PCbv5+xta2kUMFJyR8/oWnn7ddeKdosbAPbA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.0.0.tgz", + "integrity": "sha512-nbsTRz2fwniJBFgUkcdISq8y/q9n9VbiHYbfwklFh5V4V2uAcxtKQkDc0yCLPM/kP0d+inZBewn3zJqewHE7kg==", "dev": true, "requires": { "@types/minimist": "^1.2.0", @@ -2802,12 +2876,12 @@ "decamelize-keys": "^1.1.0", "hard-rejection": "^2.1.0", "minimist-options": "4.1.0", - "normalize-package-data": "^2.5.0", + "normalize-package-data": "^3.0.0", "read-pkg-up": "^7.0.1", "redent": "^3.0.0", "trim-newlines": "^3.0.0", - "type-fest": "^0.13.1", - "yargs-parser": "^18.1.3" + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" } }, "minimist-options": { @@ -2821,6 +2895,18 @@ "kind-of": "^6.0.3" } }, + "normalize-package-data": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz", + "integrity": "sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw==", + "dev": true, + "requires": { + "hosted-git-info": "^3.0.6", + "resolve": "^1.17.0", + "semver": "^7.3.2", + "validate-npm-package-license": "^3.0.1" + } + }, "quick-lru": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", @@ -2837,6 +2923,22 @@ "strip-indent": "^3.0.0" } }, + "resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "dev": true, + "requires": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + } + }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true + }, "strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -2852,15 +2954,17 @@ "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", "dev": true }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "yargs-parser": { - "version": "18.1.3", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", - "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true } } }, @@ -3798,9 +3902,9 @@ "dev": true }, "import-fresh": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", - "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz", + "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==", "dev": true, "requires": { "parent-module": "^1.0.0", @@ -4137,6 +4241,15 @@ "ci-info": "^2.0.0" } }, + "is-core-module": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", + "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, "is-date-object": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", @@ -9938,9 +10051,9 @@ "dev": true }, "semantic-release": { - "version": "17.2.2", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.2.tgz", - "integrity": "sha512-LNU68ud3a3oU46H11OThXaKAK430jGGGTIF4VsiP843kRmS6s8kVCceLRdi7yWWz/sCCMD0zygPTQV2Jw79J5g==", + "version": "17.2.3", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.3.tgz", + "integrity": "sha512-MY1MlowGQrkOR7+leOD8ICkVOC6i1szbwDODdbJ0UdshtMx8Ms0bhpRQmEEliqYKEb5PLv/dqs6zKKuHT7UxTg==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", @@ -10481,27 +10594,74 @@ "dev": true }, "tempy": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/tempy/-/tempy-0.5.0.tgz", - "integrity": "sha512-VEY96x7gbIRfsxqsafy2l5yVxxp3PhwAGoWMyC2D2Zt5DmEv+2tGiPOrquNRpf21hhGnKLVEsuqleqiZmKG/qw==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/tempy/-/tempy-1.0.0.tgz", + "integrity": "sha512-eLXG5B1G0mRPHmgH2WydPl5v4jH35qEn3y/rA/aahKhIa91Pn119SsU7n7v/433gtT9ONzC8ISvNHIh2JSTm0w==", "dev": true, "requires": { + "del": "^6.0.0", "is-stream": "^2.0.0", "temp-dir": "^2.0.0", - "type-fest": "^0.12.0", + "type-fest": "^0.16.0", "unique-string": "^2.0.0" }, "dependencies": { + "del": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", + "integrity": "sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==", + "dev": true, + "requires": { + "globby": "^11.0.1", + "graceful-fs": "^4.2.4", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.2", + "p-map": "^4.0.0", + "rimraf": "^3.0.2", + "slash": "^3.0.0" + } + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, + "is-path-inside": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", + "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==", + "dev": true + }, "is-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, + "p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, "type-fest": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.12.0.tgz", - "integrity": "sha512-53RyidyjvkGpnWPMF9bQgFtWp+Sl8O2Rp13VavmJgfAP9WWG6q6TkrKU8iyJdnwnfgHI6k2hTlgqH4aSdjoTbg==", + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz", + "integrity": "sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==", "dev": true } } @@ -10606,13 +10766,25 @@ "dev": true }, "through2": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", - "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", + "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", "dev": true, "requires": { - "inherits": "^2.0.4", - "readable-stream": "2 || 3" + "readable-stream": "3" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + } } }, "timers-ext": { @@ -10692,9 +10864,9 @@ "dev": true }, "type-fest": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.13.1.tgz", - "integrity": "sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==", + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true }, "typedoc": { From de9216c43c4d1989564d359af3aa27c63212bd9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Nov 2020 08:46:25 -0800 Subject: [PATCH 28/36] build(deps): bump @types/node from 14.14.7 to 14.14.8 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.7 to 14.14.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c6b732be8..a00a69fa0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1885,9 +1885,9 @@ "dev": true }, "@types/node": { - "version": "14.14.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.7.tgz", - "integrity": "sha512-Zw1vhUSQZYw+7u5dAwNbIA9TuTotpzY/OF7sJM9FqPOF3SPjKnxrjoTktXDZgUjybf4cWVBP7O8wvKdSaGHweg==" + "version": "14.14.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.8.tgz", + "integrity": "sha512-z/5Yd59dCKI5kbxauAJgw6dLPzW+TNOItNE00PkpzNwUIEwdj/Lsqwq94H5DdYBX7C13aRA0CY32BK76+neEUA==" }, "@types/normalize-package-data": { "version": "2.4.0", From abc2b65a3df38b0666d41f965584259328549407 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2020 10:04:51 -0800 Subject: [PATCH 29/36] build(deps-dev): bump semantic-release from 17.2.3 to 17.2.4 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.2.3 to 17.2.4. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.3...v17.2.4) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index a00a69fa0..bb3b6099e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1623,9 +1623,9 @@ "dev": true }, "@semantic-release/github": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-7.1.2.tgz", - "integrity": "sha512-0cbQAQgZRUPvYWeJ5OSw/bbOhe0tsFArylL2gue9V66q0JgFNOL6CONGd+X5CQxQP1+t+t3Lr9OomuE3QLZgtw==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-7.2.0.tgz", + "integrity": "sha512-tMRnWiiWb43whRHvbDGXq4DGEbKRi56glDpXDJZit4PIiwDPX7Kx3QzmwRtDOcG+8lcpGjpdPabYZ9NBxoI2mw==", "dev": true, "requires": { "@octokit/rest": "^18.0.0", @@ -9305,9 +9305,9 @@ "dev": true }, "p-each-series": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.1.0.tgz", - "integrity": "sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz", + "integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==", "dev": true }, "p-filter": { @@ -10051,9 +10051,9 @@ "dev": true }, "semantic-release": { - "version": "17.2.3", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.3.tgz", - "integrity": "sha512-MY1MlowGQrkOR7+leOD8ICkVOC6i1szbwDODdbJ0UdshtMx8Ms0bhpRQmEEliqYKEb5PLv/dqs6zKKuHT7UxTg==", + "version": "17.2.4", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.4.tgz", + "integrity": "sha512-NcYFT+duzg+eE57s9lZYRRkxzyiXGvwFdPvS4U+8TYo+vb0UZpQuFi63hFgoLAOF4lo5yj2v79GsG9hDC66EQw==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", From 35df08ad97b8cb4c65b94523e2147701bcf0ff03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2020 10:05:18 -0800 Subject: [PATCH 30/36] build(deps): bump @types/node from 14.14.8 to 14.14.9 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.8 to 14.14.9. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb3b6099e..b360f73a0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1885,9 +1885,9 @@ "dev": true }, "@types/node": { - "version": "14.14.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.8.tgz", - "integrity": "sha512-z/5Yd59dCKI5kbxauAJgw6dLPzW+TNOItNE00PkpzNwUIEwdj/Lsqwq94H5DdYBX7C13aRA0CY32BK76+neEUA==" + "version": "14.14.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", + "integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==" }, "@types/normalize-package-data": { "version": "2.4.0", From 2d0a5c611593407cf9a8ef5f9667441e04c3a9ce Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2020 10:05:27 -0800 Subject: [PATCH 31/36] build(deps-dev): bump prettier from 2.1.2 to 2.2.0 Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.0. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index b360f73a0..9ecd1e4c1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9603,9 +9603,9 @@ "dev": true }, "prettier": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.1.2.tgz", - "integrity": "sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.0.tgz", + "integrity": "sha512-yYerpkvseM4iKD/BXLYUkQV5aKt4tQPqaGW6EsZjzyu0r7sVZZNPJW4Y8MyKmicp6t42XUPcBVA+H6sB3gqndw==", "dev": true }, "private": { From 68733923e14bc18b7d433f0159ecb446ced83336 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Nov 2020 09:38:10 -0800 Subject: [PATCH 32/36] build(deps-dev): bump semantic-release from 17.2.4 to 17.3.0 Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.2.4 to 17.3.0. - [Release notes](https://github.com/semantic-release/semantic-release/releases) - [Commits](https://github.com/semantic-release/semantic-release/compare/v17.2.4...v17.3.0) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 84 +++++++++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 36 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9ecd1e4c1..6bf23f31e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5638,9 +5638,9 @@ } }, "npm": { - "version": "6.14.8", - "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.8.tgz", - "integrity": "sha512-HBZVBMYs5blsj94GTeQZel7s9odVuuSUHy1+AlZh7rPVux1os2ashvEGLy/STNK7vUjbrCg5Kq9/GXisJgdf6A==", + "version": "6.14.9", + "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.9.tgz", + "integrity": "sha512-yHi1+i9LyAZF1gAmgyYtVk+HdABlLy94PMIDoK1TRKWvmFQAt5z3bodqVwKvzY0s6dLqQPVsRLiwhJfNtiHeCg==", "dev": true, "requires": { "JSONStream": "^1.3.5", @@ -5723,7 +5723,7 @@ "npm-pick-manifest": "^3.0.2", "npm-profile": "^4.0.4", "npm-registry-fetch": "^4.0.7", - "npm-user-validate": "~1.0.0", + "npm-user-validate": "^1.0.1", "npmlog": "~4.1.2", "once": "~1.4.0", "opener": "^1.5.1", @@ -5798,17 +5798,6 @@ "humanize-ms": "^1.2.1" } }, - "ajv": { - "version": "5.5.2", - "bundled": true, - "dev": true, - "requires": { - "co": "^4.6.0", - "fast-deep-equal": "^1.0.0", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.3.0" - } - }, "ansi-align": { "version": "2.0.0", "bundled": true, @@ -6139,11 +6128,6 @@ "mkdirp": "~0.5.0" } }, - "co": { - "version": "4.6.0", - "bundled": true, - "dev": true - }, "code-point-at": { "version": "1.1.0", "bundled": true, @@ -6592,11 +6576,6 @@ "bundled": true, "dev": true }, - "fast-deep-equal": { - "version": "1.1.0", - "bundled": true, - "dev": true - }, "fast-json-stable-stringify": { "version": "2.0.0", "bundled": true, @@ -6917,12 +6896,35 @@ "dev": true }, "har-validator": { - "version": "5.1.0", + "version": "5.1.5", "bundled": true, "dev": true, "requires": { - "ajv": "^5.3.0", + "ajv": "^6.12.3", "har-schema": "^2.0.0" + }, + "dependencies": { + "ajv": { + "version": "6.12.6", + "bundled": true, + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "fast-deep-equal": { + "version": "3.1.3", + "bundled": true, + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "bundled": true, + "dev": true + } } }, "has": { @@ -7209,11 +7211,6 @@ "bundled": true, "dev": true }, - "json-schema-traverse": { - "version": "0.3.1", - "bundled": true, - "dev": true - }, "json-stringify-safe": { "version": "5.0.1", "bundled": true, @@ -7856,7 +7853,7 @@ } }, "npm-user-validate": { - "version": "1.0.0", + "version": "1.0.1", "bundled": true, "dev": true }, @@ -8860,6 +8857,21 @@ "xdg-basedir": "^3.0.0" } }, + "uri-js": { + "version": "4.4.0", + "bundled": true, + "dev": true, + "requires": { + "punycode": "^2.1.0" + }, + "dependencies": { + "punycode": { + "version": "2.1.1", + "bundled": true, + "dev": true + } + } + }, "url-parse-lax": { "version": "1.0.0", "bundled": true, @@ -10051,9 +10063,9 @@ "dev": true }, "semantic-release": { - "version": "17.2.4", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.2.4.tgz", - "integrity": "sha512-NcYFT+duzg+eE57s9lZYRRkxzyiXGvwFdPvS4U+8TYo+vb0UZpQuFi63hFgoLAOF4lo5yj2v79GsG9hDC66EQw==", + "version": "17.3.0", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-17.3.0.tgz", + "integrity": "sha512-enhDayMZRP4nWcWAMBFHHB7THRaIcRdUAZv3lxd65pXs2ttzay7IeCvRRrGayRWExtnY0ulwRz5Ycp88Dv/UeQ==", "dev": true, "requires": { "@semantic-release/commit-analyzer": "^8.0.0", From abb6357d75bacc7af27a69a124a8b0b77ab92004 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Nov 2020 08:17:47 -0800 Subject: [PATCH 33/36] build(deps): bump @types/node from 14.14.9 to 14.14.10 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.9 to 14.14.10. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6bf23f31e..b72f9fb13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1885,9 +1885,9 @@ "dev": true }, "@types/node": { - "version": "14.14.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.9.tgz", - "integrity": "sha512-JsoLXFppG62tWTklIoO4knA+oDTYsmqWxHRvd4lpmfQRNhX6osheUOWETP2jMoV/2bEHuMra8Pp3Dmo/stBFcw==" + "version": "14.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz", + "integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==" }, "@types/normalize-package-data": { "version": "2.4.0", From 079ef011b9d67747797678fba8f92dd8c9b0b53a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Nov 2020 23:08:44 -0800 Subject: [PATCH 34/36] build(deps-dev): bump json-schema-to-typescript from 9.1.1 to 10.0.0 Bumps [json-schema-to-typescript](https://github.com/bcherny/json-schema-to-typescript) from 9.1.1 to 10.0.0. - [Release notes](https://github.com/bcherny/json-schema-to-typescript/releases) - [Changelog](https://github.com/bcherny/json-schema-to-typescript/blob/master/CHANGELOG.md) - [Commits](https://github.com/bcherny/json-schema-to-typescript/commits) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 64 +++++++++++++++++++++++++++++------------------ package.json | 2 +- 2 files changed, 41 insertions(+), 25 deletions(-) diff --git a/package-lock.json b/package-lock.json index b72f9fb13..921397d68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,12 +5,12 @@ "requires": true, "dependencies": { "@apidevtools/json-schema-ref-parser": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.1.tgz", - "integrity": "sha512-Qsdz0W0dyK84BuBh5KZATWXOtVDXIF2EeNRzpyWblPUeAmnIokwWcwrpAm5pTPMjuWoIQt9C67X3Af1OlL6oSw==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", + "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", "dev": true, "requires": { - "@jsdevtools/ono": "^7.1.2", + "@jsdevtools/ono": "^7.1.3", "call-me-maybe": "^1.0.1", "js-yaml": "^3.13.1" } @@ -997,9 +997,9 @@ } }, "@jsdevtools/ono": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.2.tgz", - "integrity": "sha512-qS/a24RA5FEoiJS9wiv6Pwg2c/kiUo3IVUQcfeM9JvsR6pM8Yx+yl/6xWYLckZCT5jpLNhslgjiA8p/XcGyMRQ==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", "dev": true }, "@nodelib/fs.scandir": { @@ -1867,9 +1867,9 @@ } }, "@types/json-schema": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.5.tgz", - "integrity": "sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz", + "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==", "dev": true }, "@types/minimatch": { @@ -3516,9 +3516,9 @@ }, "dependencies": { "type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz", - "integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", + "integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==", "dev": true } } @@ -3718,6 +3718,15 @@ "is-glob": "^4.0.1" } }, + "glob-promise": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/glob-promise/-/glob-promise-3.4.0.tgz", + "integrity": "sha512-q08RJ6O+eJn+dVanerAndJwIcumgbDdYiUT7zFQl3Wm1xD6fBKtah7H8ZJChj4wP+8C+QfeVy8xautR7rdmKEw==", + "dev": true, + "requires": { + "@types/glob": "*" + } + }, "global-dirs": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-2.0.1.tgz", @@ -4529,34 +4538,41 @@ "dev": true }, "json-schema-ref-parser": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-9.0.1.tgz", - "integrity": "sha512-KLrCjRjW5hMXxsX4osVBWpwixXL9NtICfpyNNS0eHguN5mP/I4UatI7i7PFS8jU94b1NHF4EbirACdCn0RFPBA==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", + "integrity": "sha512-z0JGv7rRD3CnJbZY/qCpscyArdtLJhr/wRBmFUdoZ8xMjsFyNdILSprG2degqRLjBjyhZHAEBpGOxniO9rKTxA==", "dev": true, "requires": { - "@apidevtools/json-schema-ref-parser": "9.0.1" + "@apidevtools/json-schema-ref-parser": "9.0.6" } }, "json-schema-to-typescript": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-9.1.1.tgz", - "integrity": "sha512-VrdxmwQROjPBRlHxXwGUa2xzhOMPiNZIVsxZrZjMYtbI7suRFMiEktqaD/gqhfSya7Djy+x8dnJT+H0/0sZO0Q==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-10.0.0.tgz", + "integrity": "sha512-G5RZlHchI9r/v31QhH5k57K+2kvYRBWKIGctJPsUuIkUIf3J3xXzvQZJGa16bhVjgs1fStaLamfFIti6K6V6wQ==", "dev": true, "requires": { - "@types/json-schema": "^7.0.4", + "@types/json-schema": "^7.0.6", "cli-color": "^2.0.0", "glob": "^7.1.6", + "glob-promise": "^3.4.0", "is-glob": "^4.0.1", - "json-schema-ref-parser": "^9.0.1", + "json-schema-ref-parser": "^9.0.6", "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.15", + "lodash": "^4.17.20", "minimist": "^1.2.5", "mkdirp": "^1.0.4", "mz": "^2.7.0", - "prettier": "^2.0.5", + "prettier": "^2.2.0", "stdin": "0.0.1" }, "dependencies": { + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + }, "mkdirp": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", diff --git a/package.json b/package.json index 323187d5e..09c7a4dc5 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "@pika/plugin-build-web": "^0.9.0", "@pika/plugin-ts-standard-pkg": "^0.9.0", "handlebars": "^4.7.6", - "json-schema-to-typescript": "^9.1.0", + "json-schema-to-typescript": "^10.0.0", "lodash.set": "^4.3.2", "npm-run-all": "^4.1.5", "pascal-case": "^3.1.1", From 4dfee5a5daa9a983c09fb96ab3d3f887ebad9755 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 29 Nov 2020 23:08:54 -0800 Subject: [PATCH 35/36] build(deps-dev): bump prettier from 2.2.0 to 2.2.1 Bumps [prettier](https://github.com/prettier/prettier) from 2.2.0 to 2.2.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 921397d68..c1bd9fa83 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9631,9 +9631,9 @@ "dev": true }, "prettier": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.0.tgz", - "integrity": "sha512-yYerpkvseM4iKD/BXLYUkQV5aKt4tQPqaGW6EsZjzyu0r7sVZZNPJW4Y8MyKmicp6t42XUPcBVA+H6sB3gqndw==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", + "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", "dev": true }, "private": { From ad9c85d447cec3b4c427e13a0989b136285dffa4 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Mon, 30 Nov 2020 15:07:25 -0800 Subject: [PATCH 36/36] feat: use @octokit/openapi (#197) BREAKING CHANGE: The `:param` path notion has been replaced with `{param}` in `Endpoints` to align with GitHub's documentation and to conform to [rfc6570](https://tools.ietf.org/html/rfc6570) --- .github/workflows/release-notification.yml | 14 + .github/workflows/release.yml | 4 +- .github/workflows/update.yml | 17 +- package-lock.json | 3918 +- package.json | 8 +- scripts/update-endpoints/fetch-json.js | 21 +- .../update-endpoints/generated/endpoints.json | 42511 +++------------ scripts/update-endpoints/package.js | 15 + .../templates/endpoints.ts.template | 118 +- scripts/update-endpoints/typescript.js | 330 +- src/OctokitResponse.ts | 4 +- src/generated/Endpoints.ts | 44600 ++-------------- test.ts | 81 +- 13 files changed, 12326 insertions(+), 79315 deletions(-) create mode 100644 .github/workflows/release-notification.yml create mode 100644 scripts/update-endpoints/package.js diff --git a/.github/workflows/release-notification.yml b/.github/workflows/release-notification.yml new file mode 100644 index 000000000..ba9a962f8 --- /dev/null +++ b/.github/workflows/release-notification.yml @@ -0,0 +1,14 @@ +name: Release notification +on: + release: + types: + - published + +jobs: + notify: + runs-on: ubuntu-latest + steps: + - uses: gr2m/release-notifier-action@v1 + with: + app_id: ${{ secrets.RELEASE_NOTIFIER_APP_ID }} + private_key: ${{ secrets.RELEASE_NOTIFIER_APP_PRIVATE_KEY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 486976b9c..d7626bbdc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,8 @@ jobs: - run: npm run build - run: npx semantic-release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }} + NPM_TOKEN: ${{ secrets.OCTOKITBOT_NPM_TOKEN }} - run: npm run docs - uses: maxheld83/ghpages@master env: diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 6e61afc39..77f09b54f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,18 +1,14 @@ name: Update on: repository_dispatch: - types: [github-openapi-release] + # https://github.com/octokit/openapi-types.ts/blob/main/.github/workflows/release-notification.yml + types: [octokit/openapi-types release] workflow_dispatch: - inputs: - version: - description: "Version of https://www.npmjs.com/package/@github/openapi" - required: true jobs: update_routes: runs-on: ubuntu-latest - if: github.event_name == 'workflow_dispatch' || github.event.client_payload.action == 'published' steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 @@ -21,14 +17,13 @@ jobs: # try checking out routes-update branch. Ignore error if it does not exist - run: git checkout routes-update || true - run: npm ci - - run: npm run update-endpoints + - run: npm install @octokit/openapi-types@latest if: github.event_name == 'repository_dispatch' - env: - VERSION: ${{ github.event.client_payload.release.tag_name }} + - run: node -e "console.log('::set-output name=version::' + require('@octokit/openapi-types/package').octokit['openapi-version'])" + id: openapi_types - run: npm run update-endpoints - if: github.event_name == 'workflow_dispatch' env: - VERSION: ${{ github.event.inputs.version }} + VERSION: ${{ steps.openapi_types.outputs.version }} - name: Create Pull Request uses: gr2m/create-or-update-pull-request-action@v1.x env: diff --git a/package-lock.json b/package-lock.json index c1bd9fa83..f0e5aa750 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,421 +16,457 @@ } }, "@babel/code-frame": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", - "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz", + "integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==", "dev": true, "requires": { - "@babel/highlight": "^7.8.3" + "@babel/highlight": "^7.10.4" } }, "@babel/compat-data": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.9.6.tgz", - "integrity": "sha512-5QPTrNen2bm7RBc7dsOmcA5hbrS4O2Vhmk5XOL4zWW/zD/hV0iinpefDlkm+tBBy8kDtFaaeEvmAqt+nURAV2g==", - "dev": true, - "requires": { - "browserslist": "^4.11.1", - "invariant": "^2.2.4", - "semver": "^5.5.0" - } + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.12.7.tgz", + "integrity": "sha512-YaxPMGs/XIWtYqrdEOZOCPsVWfEoriXopnsz3/i7apYPXQ3698UFhS6dVT1KN5qOsWmVgw/FOrmQgpRaZayGsw==", + "dev": true }, "@babel/core": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz", - "integrity": "sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.9.6", - "@babel/helper-module-transforms": "^7.9.0", - "@babel/helpers": "^7.9.6", - "@babel/parser": "^7.9.6", - "@babel/template": "^7.8.6", - "@babel/traverse": "^7.9.6", - "@babel/types": "^7.9.6", + "version": "7.12.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.9.tgz", + "integrity": "sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.12.5", + "@babel/helper-module-transforms": "^7.12.1", + "@babel/helpers": "^7.12.5", + "@babel/parser": "^7.12.7", + "@babel/template": "^7.12.7", + "@babel/traverse": "^7.12.9", + "@babel/types": "^7.12.7", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.1", "json5": "^2.1.2", - "lodash": "^4.17.13", + "lodash": "^4.17.19", "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" }, "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true } } }, "@babel/generator": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", - "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.5.tgz", + "integrity": "sha512-m16TQQJ8hPt7E+OS/XVQg/7U184MLXtvuGbCdA7na61vha+ImkyyNM/9DDA0unYCVZn3ZOhng+qz48/KBOT96A==", "dev": true, "requires": { - "@babel/types": "^7.9.6", + "@babel/types": "^7.12.5", "jsesc": "^2.5.1", - "lodash": "^4.17.13", "source-map": "^0.5.0" - }, - "dependencies": { - "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "dev": true - } } }, "@babel/helper-annotate-as-pure": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz", - "integrity": "sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.4.tgz", + "integrity": "sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz", - "integrity": "sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.4.tgz", + "integrity": "sha512-L0zGlFrGWZK4PbT8AszSfLTM5sDU1+Az/En9VrdT8/LmEiJt4zXt+Jve9DCAnQcbqDhCI+29y/L93mrDzddCcg==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "^7.8.3", - "@babel/types": "^7.8.3" + "@babel/helper-explode-assignable-expression": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helper-compilation-targets": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.9.6.tgz", - "integrity": "sha512-x2Nvu0igO0ejXzx09B/1fGBxY9NXQlBW2kZsSxCJft+KHN8t9XWzIvFxtPHnBOAXpVsdxZKZFbRUC8TsNKajMw==", + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.5.tgz", + "integrity": "sha512-+qH6NrscMolUlzOYngSBMIOQpKUGPPsc61Bu5W10mg84LxZ7cmvnBHzARKbDoFxVvqqAbj6Tg6N7bSrWSPXMyw==", "dev": true, "requires": { - "@babel/compat-data": "^7.9.6", - "browserslist": "^4.11.1", - "invariant": "^2.2.4", - "levenary": "^1.1.1", + "@babel/compat-data": "^7.12.5", + "@babel/helper-validator-option": "^7.12.1", + "browserslist": "^4.14.5", "semver": "^5.5.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } } }, "@babel/helper-create-class-features-plugin": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.9.6.tgz", - "integrity": "sha512-6N9IeuyHvMBRyjNYOMJHrhwtu4WJMrYf8hVbEHD3pbbbmNOk1kmXSQs7bA4dYDUaIx4ZEzdnvo6NwC3WHd/Qow==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.1.tgz", + "integrity": "sha512-hkL++rWeta/OVOBTRJc9a5Azh5mt5WgZUGAKMD8JM141YsE08K//bp1unBBieO6rUKkIPyUE0USQ30jAy3Sk1w==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.9.5", - "@babel/helper-member-expression-to-functions": "^7.8.3", - "@babel/helper-optimise-call-expression": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-replace-supers": "^7.9.6", - "@babel/helper-split-export-declaration": "^7.8.3" + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-member-expression-to-functions": "^7.12.1", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/helper-replace-supers": "^7.12.1", + "@babel/helper-split-export-declaration": "^7.10.4" } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.8.8", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.8.tgz", - "integrity": "sha512-LYVPdwkrQEiX9+1R29Ld/wTrmQu1SSKYnuOk3g0CkcZMA1p0gsNxJFj/3gBdaJ7Cg0Fnek5z0DsMULePP7Lrqg==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.7.tgz", + "integrity": "sha512-idnutvQPdpbduutvi3JVfEgcVIHooQnhvhx0Nk9isOINOIGYkZea1Pk2JlJRiUnMefrlvr0vkByATBY/mB4vjQ==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.8.3", - "@babel/helper-regex": "^7.8.3", - "regexpu-core": "^4.7.0" + "@babel/helper-annotate-as-pure": "^7.10.4", + "regexpu-core": "^4.7.1" } }, "@babel/helper-define-map": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz", - "integrity": "sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g==", + "version": "7.10.5", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.10.5.tgz", + "integrity": "sha512-fMw4kgFB720aQFXSVaXr79pjjcW5puTCM16+rECJ/plGS+zByelE8l9nCpV1GibxTnFVmUuYG9U8wYfQHdzOEQ==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.8.3", - "@babel/types": "^7.8.3", - "lodash": "^4.17.13" + "@babel/helper-function-name": "^7.10.4", + "@babel/types": "^7.10.5", + "lodash": "^4.17.19" } }, "@babel/helper-explode-assignable-expression": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz", - "integrity": "sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.12.1.tgz", + "integrity": "sha512-dmUwH8XmlrUpVqgtZ737tK88v07l840z9j3OEhCLwKTkjlvKpfqXVIZ0wpK3aeOxspwGrf/5AP5qLx4rO3w5rA==", "dev": true, "requires": { - "@babel/traverse": "^7.8.3", - "@babel/types": "^7.8.3" + "@babel/types": "^7.12.1" } }, "@babel/helper-function-name": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", - "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz", + "integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.8.3", - "@babel/template": "^7.8.3", - "@babel/types": "^7.9.5" + "@babel/helper-get-function-arity": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helper-get-function-arity": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", - "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz", + "integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-hoist-variables": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz", - "integrity": "sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.10.4.tgz", + "integrity": "sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.10.4" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz", - "integrity": "sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.7.tgz", + "integrity": "sha512-DCsuPyeWxeHgh1Dus7APn7iza42i/qXqiFPWyBDdOFtvS581JQePsc1F/nD+fHrcswhLlRc2UpYS1NwERxZhHw==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.12.7" } }, "@babel/helper-module-imports": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz", - "integrity": "sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg==", + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.5.tgz", + "integrity": "sha512-SR713Ogqg6++uexFRORf/+nPXMmWIn80TALu0uaFb+iQIUoR7bOC7zBWyzBs5b3tBBJXuyD0cRu1F15GyzjOWA==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.12.5" } }, "@babel/helper-module-transforms": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz", - "integrity": "sha512-0FvKyu0gpPfIQ8EkxlrAydOWROdHpBmiCiRwLkUiBGhCUPRRbVD2/tm3sFr/c/GWFrQ/ffutGUAnx7V0FzT2wA==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz", + "integrity": "sha512-QQzehgFAZ2bbISiCpmVGfiGux8YVFXQ0abBic2Envhej22DVXV9nCFaS5hIQbkyo1AdGb+gNME2TSh3hYJVV/w==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.8.3", - "@babel/helper-replace-supers": "^7.8.6", - "@babel/helper-simple-access": "^7.8.3", - "@babel/helper-split-export-declaration": "^7.8.3", - "@babel/template": "^7.8.6", - "@babel/types": "^7.9.0", - "lodash": "^4.17.13" + "@babel/helper-module-imports": "^7.12.1", + "@babel/helper-replace-supers": "^7.12.1", + "@babel/helper-simple-access": "^7.12.1", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/helper-validator-identifier": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.12.1", + "@babel/types": "^7.12.1", + "lodash": "^4.17.19" } }, "@babel/helper-optimise-call-expression": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz", - "integrity": "sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.7.tgz", + "integrity": "sha512-I5xc9oSJ2h59OwyUqjv95HRyzxj53DAubUERgQMrpcCEYQyToeHA+NEcUEsVWB4j53RDeskeBJ0SgRAYHDBckw==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.12.7" } }, "@babel/helper-plugin-utils": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", - "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.10.4.tgz", + "integrity": "sha512-O4KCvQA6lLiMU9l2eawBPMf1xPP8xPfB3iEQw150hOVTqj/rfXz0ThTb4HEzqQfs2Bmo5Ay8BzxfzVtBrr9dVg==", "dev": true }, - "@babel/helper-regex": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.8.3.tgz", - "integrity": "sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ==", + "@babel/helper-remap-async-to-generator": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.12.1.tgz", + "integrity": "sha512-9d0KQCRM8clMPcDwo8SevNs+/9a8yWVVmaE80FGJcEP8N1qToREmWEGnBn8BUlJhYRFz6fqxeRL1sl5Ogsed7A==", "dev": true, "requires": { - "lodash": "^4.17.13" + "@babel/helper-annotate-as-pure": "^7.10.4", + "@babel/helper-wrap-function": "^7.10.4", + "@babel/types": "^7.12.1" } }, - "@babel/helper-remap-async-to-generator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz", - "integrity": "sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA==", + "@babel/helper-replace-supers": { + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.5.tgz", + "integrity": "sha512-5YILoed0ZyIpF4gKcpZitEnXEJ9UoDRki1Ey6xz46rxOzfNMAhVIJMoune1hmPVxh40LRv1+oafz7UsWX+vyWA==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.8.3", - "@babel/helper-wrap-function": "^7.8.3", - "@babel/template": "^7.8.3", - "@babel/traverse": "^7.8.3", - "@babel/types": "^7.8.3" + "@babel/helper-member-expression-to-functions": "^7.12.1", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/traverse": "^7.12.5", + "@babel/types": "^7.12.5" } }, - "@babel/helper-replace-supers": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.9.6.tgz", - "integrity": "sha512-qX+chbxkbArLyCImk3bWV+jB5gTNU/rsze+JlcF6Nf8tVTigPJSI1o1oBow/9Resa1yehUO9lIipsmu9oG4RzA==", + "@babel/helper-simple-access": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz", + "integrity": "sha512-OxBp7pMrjVewSSC8fXDFrHrBcJATOOFssZwv16F3/6Xtc138GHybBfPbm9kfiqQHKhYQrlamWILwlDCeyMFEaA==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.8.3", - "@babel/helper-optimise-call-expression": "^7.8.3", - "@babel/traverse": "^7.9.6", - "@babel/types": "^7.9.6" + "@babel/types": "^7.12.1" } }, - "@babel/helper-simple-access": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz", - "integrity": "sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw==", + "@babel/helper-skip-transparent-expression-wrappers": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz", + "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==", "dev": true, "requires": { - "@babel/template": "^7.8.3", - "@babel/types": "^7.8.3" + "@babel/types": "^7.12.1" } }, "@babel/helper-split-export-declaration": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", - "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz", + "integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==", "dev": true, "requires": { - "@babel/types": "^7.8.3" + "@babel/types": "^7.11.0" } }, "@babel/helper-validator-identifier": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.0.tgz", - "integrity": "sha512-6G8bQKjOh+of4PV/ThDm/rRqlU7+IGoJuofpagU5GlEl29Vv0RGqqt86ZGRV8ZuSOY3o+8yXl5y782SMcG7SHw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz", + "integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==", + "dev": true + }, + "@babel/helper-validator-option": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.1.tgz", + "integrity": "sha512-YpJabsXlJVWP0USHjnC/AQDTLlZERbON577YUVO/wLpqyj6HAtVYnWaQaN0iUN+1/tWn3c+uKKXjRut5115Y2A==", "dev": true }, "@babel/helper-wrap-function": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz", - "integrity": "sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ==", + "version": "7.12.3", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.12.3.tgz", + "integrity": "sha512-Cvb8IuJDln3rs6tzjW3Y8UeelAOdnpB8xtQ4sme2MSZ9wOxrbThporC0y/EtE16VAtoyEfLM404Xr1e0OOp+ow==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.8.3", - "@babel/template": "^7.8.3", - "@babel/traverse": "^7.8.3", - "@babel/types": "^7.8.3" + "@babel/helper-function-name": "^7.10.4", + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.10.4", + "@babel/types": "^7.10.4" } }, "@babel/helpers": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.9.6.tgz", - "integrity": "sha512-tI4bUbldloLcHWoRUMAj4g1bF313M/o6fBKhIsb3QnGVPwRm9JsNf/gqMkQ7zjqReABiffPV6RWj7hEglID5Iw==", + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.5.tgz", + "integrity": "sha512-lgKGMQlKqA8meJqKsW6rUnc4MdUk35Ln0ATDqdM1a/UpARODdI4j5Y5lVfUScnSNkJcdCRAaWkspykNoFg9sJA==", "dev": true, "requires": { - "@babel/template": "^7.8.3", - "@babel/traverse": "^7.9.6", - "@babel/types": "^7.9.6" + "@babel/template": "^7.10.4", + "@babel/traverse": "^7.12.5", + "@babel/types": "^7.12.5" } }, "@babel/highlight": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", - "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz", + "integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.9.0", + "@babel/helper-validator-identifier": "^7.10.4", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", - "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.7.tgz", + "integrity": "sha512-oWR02Ubp4xTLCAqPRiNIuMVgNO5Aif/xpXtabhzW2HWUD47XJsAB4Zd/Rg30+XeQA3juXigV7hlquOTmwqLiwg==", "dev": true }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz", - "integrity": "sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.1.tgz", + "integrity": "sha512-d+/o30tJxFxrA1lhzJqiUcEJdI6jKlNregCv5bASeGf2Q4MXmnwH7viDo7nhx1/ohf09oaH8j1GVYG/e3Yqk6A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-remap-async-to-generator": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-remap-async-to-generator": "^7.12.1", "@babel/plugin-syntax-async-generators": "^7.8.0" } }, + "@babel/plugin-proposal-class-properties": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.12.1.tgz", + "integrity": "sha512-cKp3dlQsFsEs5CWKnN7BnSHOd0EOW8EKpEjkoz1pO2E5KzIDNV9Ros1b0CnmbVgAGXJubOYVBOGCT1OmJwOI7w==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/plugin-proposal-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz", - "integrity": "sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.12.1.tgz", + "integrity": "sha512-a4rhUSZFuq5W8/OO8H7BL5zspjnc1FLd9hlOxIK/f7qG4a0qsqk8uvF/ywgBA8/OmjsapjpvaEOYItfGG1qIvQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", "@babel/plugin-syntax-dynamic-import": "^7.8.0" } }, + "@babel/plugin-proposal-export-namespace-from": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.1.tgz", + "integrity": "sha512-6CThGf0irEkzujYS5LQcjBx8j/4aQGiVv7J9+2f7pGfxqyKh3WnmVJYW3hdrQjyksErMGBPQrCnHfOtna+WLbw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + } + }, "@babel/plugin-proposal-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz", - "integrity": "sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.1.tgz", + "integrity": "sha512-GoLDUi6U9ZLzlSda2Df++VSqDJg3CG+dR0+iWsv6XRw1rEq+zwt4DirM9yrxW6XWaTpmai1cWJLMfM8qQJf+yw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", "@babel/plugin-syntax-json-strings": "^7.8.0" } }, + "@babel/plugin-proposal-logical-assignment-operators": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.12.1.tgz", + "integrity": "sha512-k8ZmVv0JU+4gcUGeCDZOGd0lCIamU/sMtIiX3UWnUc5yzgq6YUGyEolNYD+MLYKfSzgECPcqetVcJP9Afe/aCA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + } + }, "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.12.1.tgz", + "integrity": "sha512-nZY0ESiaQDI1y96+jk6VxMOaL4LPo/QDHBqL+SF3/vl6dHkTwHlOI8L4ZwuRBHgakRBw5zsVylel7QPbbGuYgg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0" } }, "@babel/plugin-proposal-numeric-separator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.8.3.tgz", - "integrity": "sha512-jWioO1s6R/R+wEHizfaScNsAx+xKgwTLNXSh7tTC4Usj3ItsPEhYkEpU4h+lpnBwq7NBVOJXfO6cRFYcX69JUQ==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.7.tgz", + "integrity": "sha512-8c+uy0qmnRTeukiGsjLGy6uVs/TFjJchGXUeBqlG4VWYOdJWkhhVPdQ3uHwbmalfJwv2JsV0qffXP4asRfL2SQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/plugin-syntax-numeric-separator": "^7.10.4" } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz", - "integrity": "sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz", + "integrity": "sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", "@babel/plugin-syntax-object-rest-spread": "^7.8.0", - "@babel/plugin-transform-parameters": "^7.9.5" + "@babel/plugin-transform-parameters": "^7.12.1" } }, "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.12.1.tgz", + "integrity": "sha512-hFvIjgprh9mMw5v42sJWLI1lzU5L2sznP805zeT6rySVRA0Y18StRhDqhSxlap0oVgItRsB6WSROp4YnJTJz0g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", "@babel/plugin-syntax-optional-catch-binding": "^7.8.0" } }, "@babel/plugin-proposal-optional-chaining": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.9.0.tgz", - "integrity": "sha512-NDn5tu3tcv4W30jNhmc2hyD5c56G6cXx4TesJubhxrJeCvuuMpttxr0OnNCqbZGhFjLrg+NIhxxC+BK5F6yS3w==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.12.7.tgz", + "integrity": "sha512-4ovylXZ0PWmwoOvhU2vhnzVNnm88/Sm9nx7V8BPgMvAzn5zDou3/Awy0EjglyubVHasJj+XCEkr/r1X3P5elCA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1", "@babel/plugin-syntax-optional-chaining": "^7.8.0" } }, + "@babel/plugin-proposal-private-methods": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.12.1.tgz", + "integrity": "sha512-mwZ1phvH7/NHK6Kf8LP7MYDogGV+DKB1mryFOEwx5EBNQrosvIczzZFTUmWaeujd5xT6G1ELYWUz3CutMhjE1w==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.8.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.8.tgz", - "integrity": "sha512-EVhjVsMpbhLw9ZfHWSx2iy13Q8Z/eg8e8ccVWt23sWQK5l1UdkoLJPN5w69UA4uITGBnEZD2JOe4QOHycYKv8A==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.1.tgz", + "integrity": "sha512-MYq+l+PvHuw/rKUz1at/vb6nCnQ2gmJBNaM62z0OgH7B2W1D9pvkpYtlti9bGtizNIU1K3zm4bZF9F91efVY0w==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.8.8", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-create-regexp-features-plugin": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-syntax-async-generators": { @@ -442,6 +478,15 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, + "@babel/plugin-syntax-class-properties": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.1.tgz", + "integrity": "sha512-U40A76x5gTwmESz+qiqssqmeEsKvcSyvtgktrm0uzcARAmM9I1jR221f6Oq+GmHrcD+LvZDag1UTOTe2fL3TeA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/plugin-syntax-dynamic-import": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", @@ -451,15 +496,24 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, - "@babel/plugin-syntax-import-meta": { + "@babel/plugin-syntax-export-namespace-from": { "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.8.3.tgz", - "integrity": "sha512-vYiGd4wQ9gx0Lngb7+bPCwQXGK/PR6FeTIJ+TIOlq+OfOKG/kCAOO2+IBac3oMM9qV7/fU76hfcqxUaLKZf1hQ==", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", + "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.8.3" } }, + "@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/plugin-syntax-json-strings": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", @@ -469,6 +523,15 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.10.4" + } + }, "@babel/plugin-syntax-nullish-coalescing-operator": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", @@ -479,12 +542,12 @@ } }, "@babel/plugin-syntax-numeric-separator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.8.3.tgz", - "integrity": "sha512-H7dCMAdN83PcCmqmkHB5dtp+Xa9a6LKSvA2hiFBC/5alSHxM5VgWZXFqDi0YFe8XNGT6iCa+z4V4zSt/PdZ7Dw==", + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-syntax-object-rest-spread": { @@ -515,412 +578,433 @@ } }, "@babel/plugin-syntax-top-level-await": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz", - "integrity": "sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.1.tgz", + "integrity": "sha512-i7ooMZFS+a/Om0crxZodrTzNEPJHZrlMVGMTEpFAj6rYY/bKCddB0Dk/YxfPuYXOopuhKk/e1jV6h+WUU9XN3A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-syntax-typescript": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.8.3.tgz", - "integrity": "sha512-GO1MQ/SGGGoiEXY0e0bSpHimJvxqB7lktLLIq2pv8xG7WZ8IMEle74jIe1FhprHBWjwjZtXHkycDLZXIWM5Wfg==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.1.tgz", + "integrity": "sha512-UZNEcCY+4Dp9yYRCAHrHDU+9ZXLYaY9MgBXSRLkB9WjYFRR6quJBumfVrEkUxrePPBwFcpWfNKXqVRQQtm7mMA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz", - "integrity": "sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.12.1.tgz", + "integrity": "sha512-5QB50qyN44fzzz4/qxDPQMBCTHgxg3n0xRBLJUmBlLoU/sFvxVWGZF/ZUfMVDQuJUKXaBhbupxIzIfZ6Fwk/0A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz", - "integrity": "sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.12.1.tgz", + "integrity": "sha512-SDtqoEcarK1DFlRJ1hHRY5HvJUj5kX4qmtpMAm2QnhOlyuMC4TMdCRgW6WXpv93rZeYNeLP22y8Aq2dbcDRM1A==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-remap-async-to-generator": "^7.8.3" + "@babel/helper-module-imports": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-remap-async-to-generator": "^7.12.1" } }, "@babel/plugin-transform-block-scoped-functions": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz", - "integrity": "sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.1.tgz", + "integrity": "sha512-5OpxfuYnSgPalRpo8EWGPzIYf0lHBWORCkj5M0oLBwHdlux9Ri36QqGW3/LR13RSVOAoUUMzoPI/jpE4ABcHoA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz", - "integrity": "sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.1.tgz", + "integrity": "sha512-zJyAC9sZdE60r1nVQHblcfCj29Dh2Y0DOvlMkcqSo0ckqjiCwNiUezUKw+RjOCwGfpLRwnAeQ2XlLpsnGkvv9w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", - "lodash": "^4.17.13" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-classes": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz", - "integrity": "sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.8.3", - "@babel/helper-define-map": "^7.8.3", - "@babel/helper-function-name": "^7.9.5", - "@babel/helper-optimise-call-expression": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-replace-supers": "^7.8.6", - "@babel/helper-split-export-declaration": "^7.8.3", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.12.1.tgz", + "integrity": "sha512-/74xkA7bVdzQTBeSUhLLJgYIcxw/dpEpCdRDiHgPJ3Mv6uC11UhjpOhl72CgqbBCmt1qtssCyB2xnJm1+PFjog==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.10.4", + "@babel/helper-define-map": "^7.10.4", + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-optimise-call-expression": "^7.10.4", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-replace-supers": "^7.12.1", + "@babel/helper-split-export-declaration": "^7.10.4", "globals": "^11.1.0" } }, "@babel/plugin-transform-computed-properties": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz", - "integrity": "sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.12.1.tgz", + "integrity": "sha512-vVUOYpPWB7BkgUWPo4C44mUQHpTZXakEqFjbv8rQMg7TC6S6ZhGZ3otQcRH6u7+adSlE5i0sp63eMC/XGffrzg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-destructuring": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz", - "integrity": "sha512-j3OEsGel8nHL/iusv/mRd5fYZ3DrOxWC82x0ogmdN/vHfAP4MYw+AFKYanzWlktNwikKvlzUV//afBW5FTp17Q==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.12.1.tgz", + "integrity": "sha512-fRMYFKuzi/rSiYb2uRLiUENJOKq4Gnl+6qOv5f8z0TZXg3llUwUhsNNwrwaT/6dUhJTzNpBr+CUvEWBtfNY1cw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz", - "integrity": "sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.1.tgz", + "integrity": "sha512-B2pXeRKoLszfEW7J4Hg9LoFaWEbr/kzo3teWHmtFCszjRNa/b40f9mfeqZsIDLLt/FjwQ6pz/Gdlwy85xNckBA==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-create-regexp-features-plugin": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz", - "integrity": "sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.1.tgz", + "integrity": "sha512-iRght0T0HztAb/CazveUpUQrZY+aGKKaWXMJ4uf9YJtqxSUe09j3wteztCUDRHs+SRAL7yMuFqUsLoAKKzgXjw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz", - "integrity": "sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.1.tgz", + "integrity": "sha512-7tqwy2bv48q+c1EHbXK0Zx3KXd2RVQp6OC7PbwFNt/dPTAV3Lu5sWtWuAj8owr5wqtWnqHfl2/mJlUmqkChKug==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.10.4", + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-for-of": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.9.0.tgz", - "integrity": "sha512-lTAnWOpMwOXpyDx06N+ywmF3jNbafZEqZ96CGYabxHrxNX8l5ny7dt4bK/rGwAh9utyP2b2Hv7PlZh1AAS54FQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.1.tgz", + "integrity": "sha512-Zaeq10naAsuHo7heQvyV0ptj4dlZJwZgNAtBYBnu5nNKJoW62m0zKcIEyVECrUKErkUkg6ajMy4ZfnVZciSBhg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-function-name": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz", - "integrity": "sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.1.tgz", + "integrity": "sha512-JF3UgJUILoFrFMEnOJLJkRHSk6LUSXLmEFsA23aR2O5CSLUxbeUX1IZ1YQ7Sn0aXb601Ncwjx73a+FVqgcljVw==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-literals": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz", - "integrity": "sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.1.tgz", + "integrity": "sha512-+PxVGA+2Ag6uGgL0A5f+9rklOnnMccwEBzwYFL3EUaKuiyVnUipyXncFcfjSkbimLrODoqki1U9XxZzTvfN7IQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-member-expression-literals": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz", - "integrity": "sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.1.tgz", + "integrity": "sha512-1sxePl6z9ad0gFMB9KqmYofk34flq62aqMt9NqliS/7hPEpURUCMbyHXrMPlo282iY7nAvUB1aQd5mg79UD9Jg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-modules-amd": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.6.tgz", - "integrity": "sha512-zoT0kgC3EixAyIAU+9vfaUVKTv9IxBDSabgHoUCBP6FqEJ+iNiN7ip7NBKcYqbfUDfuC2mFCbM7vbu4qJgOnDw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.12.1.tgz", + "integrity": "sha512-tDW8hMkzad5oDtzsB70HIQQRBiTKrhfgwC/KkJeGsaNFTdWhKNt/BiE8c5yj19XiGyrxpbkOfH87qkNg1YGlOQ==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.9.0", - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-module-transforms": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.6.tgz", - "integrity": "sha512-7H25fSlLcn+iYimmsNe3uK1at79IE6SKW9q0/QeEHTMC9MdOZ+4bA+T1VFB5fgOqBWoqlifXRzYD0JPdmIrgSQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz", + "integrity": "sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.9.0", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-simple-access": "^7.8.3", + "@babel/helper-module-transforms": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-simple-access": "^7.12.1", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.6.tgz", - "integrity": "sha512-NW5XQuW3N2tTHim8e1b7qGy7s0kZ2OH3m5octc49K1SdAKGxYxeIx7hiIz05kS1R2R+hOWcsr1eYwcGhrdHsrg==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.12.1.tgz", + "integrity": "sha512-Hn7cVvOavVh8yvW6fLwveFqSnd7rbQN3zJvoPNyNaQSvgfKmDBO9U1YL9+PCXGRlZD9tNdWTy5ACKqMuzyn32Q==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "^7.8.3", - "@babel/helper-module-transforms": "^7.9.0", - "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-hoist-variables": "^7.10.4", + "@babel/helper-module-transforms": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-validator-identifier": "^7.10.4", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-umd": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.9.0.tgz", - "integrity": "sha512-uTWkXkIVtg/JGRSIABdBoMsoIeoHQHPTL0Y2E7xf5Oj7sLqwVsNXOkNk0VJc7vF0IMBsPeikHxFjGe+qmwPtTQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.12.1.tgz", + "integrity": "sha512-aEIubCS0KHKM0zUos5fIoQm+AZUMt1ZvMpqz0/H5qAQ7vWylr9+PLYurT+Ic7ID/bKLd4q8hDovaG3Zch2uz5Q==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.9.0", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-module-transforms": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz", - "integrity": "sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.1.tgz", + "integrity": "sha512-tB43uQ62RHcoDp9v2Nsf+dSM8sbNodbEicbQNA53zHz8pWUhsgHSJCGpt7daXxRydjb0KnfmB+ChXOv3oADp1Q==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.8.3" + "@babel/helper-create-regexp-features-plugin": "^7.12.1" } }, "@babel/plugin-transform-new-target": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz", - "integrity": "sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.1.tgz", + "integrity": "sha512-+eW/VLcUL5L9IvJH7rT1sT0CzkdUTvPrXC2PXTn/7z7tXLBuKvezYbGdxD5WMRoyvyaujOq2fWoKl869heKjhw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-object-super": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz", - "integrity": "sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.1.tgz", + "integrity": "sha512-AvypiGJH9hsquNUn+RXVcBdeE3KHPZexWRdimhuV59cSoOt5kFBmqlByorAeUlGG2CJWd0U+4ZtNKga/TB0cAw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-replace-supers": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-replace-supers": "^7.12.1" } }, "@babel/plugin-transform-parameters": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz", - "integrity": "sha512-0+1FhHnMfj6lIIhVvS4KGQJeuhe1GI//h5uptK4PvLt+BGBxsoUJbd3/IW002yk//6sZPlFgsG1hY6OHLcy6kA==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.12.1.tgz", + "integrity": "sha512-xq9C5EQhdPK23ZeCdMxl8bbRnAgHFrw5EOC3KJUsSylZqdkCaFEXxGSBuTSObOpiiHHNyb82es8M1QYgfQGfNg==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-property-literals": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz", - "integrity": "sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.1.tgz", + "integrity": "sha512-6MTCR/mZ1MQS+AwZLplX4cEySjCpnIF26ToWo942nqn8hXSm7McaHQNeGx/pt7suI1TWOWMfa/NgBhiqSnX0cQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-regenerator": { - "version": "7.8.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz", - "integrity": "sha512-TIg+gAl4Z0a3WmD3mbYSk+J9ZUH6n/Yc57rtKRnlA/7rcCvpekHXe0CMZHP1gYp7/KLe9GHTuIba0vXmls6drA==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.1.tgz", + "integrity": "sha512-gYrHqs5itw6i4PflFX3OdBPMQdPbF4bj2REIUxlMRUFk0/ZOAIpDFuViuxPjUL7YC8UPnf+XG7/utJvqXdPKng==", "dev": true, "requires": { "regenerator-transform": "^0.14.2" } }, "@babel/plugin-transform-reserved-words": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz", - "integrity": "sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.1.tgz", + "integrity": "sha512-pOnUfhyPKvZpVyBHhSBoX8vfA09b7r00Pmm1sH+29ae2hMTKVmSp4Ztsr8KBKjLjx17H0eJqaRC3bR2iThM54A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-shorthand-properties": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz", - "integrity": "sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.1.tgz", + "integrity": "sha512-GFZS3c/MhX1OusqB1MZ1ct2xRzX5ppQh2JU1h2Pnfk88HtFTM+TWQqJNfwkmxtPQtb/s1tk87oENfXJlx7rSDw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz", - "integrity": "sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.12.1.tgz", + "integrity": "sha512-vuLp8CP0BE18zVYjsEBZ5xoCecMK6LBMMxYzJnh01rxQRvhNhH1csMMmBfNo5tGpGO+NhdSNW2mzIvBu3K1fng==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1" } }, "@babel/plugin-transform-sticky-regex": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz", - "integrity": "sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.7.tgz", + "integrity": "sha512-VEiqZL5N/QvDbdjfYQBhruN0HYjSPjC4XkeqW4ny/jNtH9gcbgaqBIXYEZCNnESMAGs0/K/R7oFGMhOyu/eIxg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/helper-regex": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-template-literals": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz", - "integrity": "sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.12.1.tgz", + "integrity": "sha512-b4Zx3KHi+taXB1dVRBhVJtEPi9h1THCeKmae2qP0YdUHIFhVjtpqqNfxeVAa1xeHVhAy4SbHxEwx5cltAu5apw==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz", - "integrity": "sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.1.tgz", + "integrity": "sha512-EPGgpGy+O5Kg5pJFNDKuxt9RdmTgj5sgrus2XVeMp/ZIbOESadgILUbm50SNpghOh3/6yrbsH+NB5+WJTmsA7Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-typescript": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.9.6.tgz", - "integrity": "sha512-8OvsRdvpt3Iesf2qsAn+YdlwAJD7zJ+vhFZmDCa4b8dTp7MmHtKk5FF2mCsGxjZwuwsy/yIIay/nLmxST1ctVQ==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.12.1.tgz", + "integrity": "sha512-VrsBByqAIntM+EYMqSm59SiMEf7qkmI9dqMt6RbD/wlwueWmYcI0FFK5Fj47pP6DRZm+3teXjosKlwcZJ5lIMw==", + "dev": true, + "requires": { + "@babel/helper-create-class-features-plugin": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/plugin-syntax-typescript": "^7.12.1" + } + }, + "@babel/plugin-transform-unicode-escapes": { + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.1.tgz", + "integrity": "sha512-I8gNHJLIc7GdApm7wkVnStWssPNbSRMPtgHdmH3sRM1zopz09UWPS4x5V4n1yz/MIWTVnJ9sp6IkuXdWM4w+2Q==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.9.6", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/plugin-syntax-typescript": "^7.8.3" + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/plugin-transform-unicode-regex": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz", - "integrity": "sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw==", + "version": "7.12.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.1.tgz", + "integrity": "sha512-SqH4ClNngh/zGwHZOOQMTD+e8FGWexILV+ePMyiDJttAWRh5dhDL8rcl5lSgU3Huiq6Zn6pWTMvdPAb21Dwdyg==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3" + "@babel/helper-create-regexp-features-plugin": "^7.12.1", + "@babel/helper-plugin-utils": "^7.10.4" } }, "@babel/preset-env": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz", - "integrity": "sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.9.6", - "@babel/helper-compilation-targets": "^7.9.6", - "@babel/helper-module-imports": "^7.8.3", - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/plugin-proposal-async-generator-functions": "^7.8.3", - "@babel/plugin-proposal-dynamic-import": "^7.8.3", - "@babel/plugin-proposal-json-strings": "^7.8.3", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-proposal-numeric-separator": "^7.8.3", - "@babel/plugin-proposal-object-rest-spread": "^7.9.6", - "@babel/plugin-proposal-optional-catch-binding": "^7.8.3", - "@babel/plugin-proposal-optional-chaining": "^7.9.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.8.3", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.12.7.tgz", + "integrity": "sha512-OnNdfAr1FUQg7ksb7bmbKoby4qFOHw6DKWWUNB9KqnnCldxhxJlP+21dpyaWFmf2h0rTbOkXJtAGevY3XW1eew==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.12.7", + "@babel/helper-compilation-targets": "^7.12.5", + "@babel/helper-module-imports": "^7.12.5", + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-validator-option": "^7.12.1", + "@babel/plugin-proposal-async-generator-functions": "^7.12.1", + "@babel/plugin-proposal-class-properties": "^7.12.1", + "@babel/plugin-proposal-dynamic-import": "^7.12.1", + "@babel/plugin-proposal-export-namespace-from": "^7.12.1", + "@babel/plugin-proposal-json-strings": "^7.12.1", + "@babel/plugin-proposal-logical-assignment-operators": "^7.12.1", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", + "@babel/plugin-proposal-numeric-separator": "^7.12.7", + "@babel/plugin-proposal-object-rest-spread": "^7.12.1", + "@babel/plugin-proposal-optional-catch-binding": "^7.12.1", + "@babel/plugin-proposal-optional-chaining": "^7.12.7", + "@babel/plugin-proposal-private-methods": "^7.12.1", + "@babel/plugin-proposal-unicode-property-regex": "^7.12.1", "@babel/plugin-syntax-async-generators": "^7.8.0", + "@babel/plugin-syntax-class-properties": "^7.12.1", "@babel/plugin-syntax-dynamic-import": "^7.8.0", + "@babel/plugin-syntax-export-namespace-from": "^7.8.3", "@babel/plugin-syntax-json-strings": "^7.8.0", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0", - "@babel/plugin-syntax-numeric-separator": "^7.8.0", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", "@babel/plugin-syntax-object-rest-spread": "^7.8.0", "@babel/plugin-syntax-optional-catch-binding": "^7.8.0", "@babel/plugin-syntax-optional-chaining": "^7.8.0", - "@babel/plugin-syntax-top-level-await": "^7.8.3", - "@babel/plugin-transform-arrow-functions": "^7.8.3", - "@babel/plugin-transform-async-to-generator": "^7.8.3", - "@babel/plugin-transform-block-scoped-functions": "^7.8.3", - "@babel/plugin-transform-block-scoping": "^7.8.3", - "@babel/plugin-transform-classes": "^7.9.5", - "@babel/plugin-transform-computed-properties": "^7.8.3", - "@babel/plugin-transform-destructuring": "^7.9.5", - "@babel/plugin-transform-dotall-regex": "^7.8.3", - "@babel/plugin-transform-duplicate-keys": "^7.8.3", - "@babel/plugin-transform-exponentiation-operator": "^7.8.3", - "@babel/plugin-transform-for-of": "^7.9.0", - "@babel/plugin-transform-function-name": "^7.8.3", - "@babel/plugin-transform-literals": "^7.8.3", - "@babel/plugin-transform-member-expression-literals": "^7.8.3", - "@babel/plugin-transform-modules-amd": "^7.9.6", - "@babel/plugin-transform-modules-commonjs": "^7.9.6", - "@babel/plugin-transform-modules-systemjs": "^7.9.6", - "@babel/plugin-transform-modules-umd": "^7.9.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.8.3", - "@babel/plugin-transform-new-target": "^7.8.3", - "@babel/plugin-transform-object-super": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.9.5", - "@babel/plugin-transform-property-literals": "^7.8.3", - "@babel/plugin-transform-regenerator": "^7.8.7", - "@babel/plugin-transform-reserved-words": "^7.8.3", - "@babel/plugin-transform-shorthand-properties": "^7.8.3", - "@babel/plugin-transform-spread": "^7.8.3", - "@babel/plugin-transform-sticky-regex": "^7.8.3", - "@babel/plugin-transform-template-literals": "^7.8.3", - "@babel/plugin-transform-typeof-symbol": "^7.8.4", - "@babel/plugin-transform-unicode-regex": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.12.1", + "@babel/plugin-transform-arrow-functions": "^7.12.1", + "@babel/plugin-transform-async-to-generator": "^7.12.1", + "@babel/plugin-transform-block-scoped-functions": "^7.12.1", + "@babel/plugin-transform-block-scoping": "^7.12.1", + "@babel/plugin-transform-classes": "^7.12.1", + "@babel/plugin-transform-computed-properties": "^7.12.1", + "@babel/plugin-transform-destructuring": "^7.12.1", + "@babel/plugin-transform-dotall-regex": "^7.12.1", + "@babel/plugin-transform-duplicate-keys": "^7.12.1", + "@babel/plugin-transform-exponentiation-operator": "^7.12.1", + "@babel/plugin-transform-for-of": "^7.12.1", + "@babel/plugin-transform-function-name": "^7.12.1", + "@babel/plugin-transform-literals": "^7.12.1", + "@babel/plugin-transform-member-expression-literals": "^7.12.1", + "@babel/plugin-transform-modules-amd": "^7.12.1", + "@babel/plugin-transform-modules-commonjs": "^7.12.1", + "@babel/plugin-transform-modules-systemjs": "^7.12.1", + "@babel/plugin-transform-modules-umd": "^7.12.1", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.12.1", + "@babel/plugin-transform-new-target": "^7.12.1", + "@babel/plugin-transform-object-super": "^7.12.1", + "@babel/plugin-transform-parameters": "^7.12.1", + "@babel/plugin-transform-property-literals": "^7.12.1", + "@babel/plugin-transform-regenerator": "^7.12.1", + "@babel/plugin-transform-reserved-words": "^7.12.1", + "@babel/plugin-transform-shorthand-properties": "^7.12.1", + "@babel/plugin-transform-spread": "^7.12.1", + "@babel/plugin-transform-sticky-regex": "^7.12.7", + "@babel/plugin-transform-template-literals": "^7.12.1", + "@babel/plugin-transform-typeof-symbol": "^7.12.1", + "@babel/plugin-transform-unicode-escapes": "^7.12.1", + "@babel/plugin-transform-unicode-regex": "^7.12.1", "@babel/preset-modules": "^0.1.3", - "@babel/types": "^7.9.6", - "browserslist": "^4.11.1", - "core-js-compat": "^3.6.2", - "invariant": "^2.2.2", - "levenary": "^1.1.1", + "@babel/types": "^7.12.7", + "core-js-compat": "^3.7.0", "semver": "^5.5.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } } }, "@babel/preset-modules": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.3.tgz", - "integrity": "sha512-Ra3JXOHBq2xd56xSF7lMKXdjBn3T772Y1Wet3yWnkDly9zHvJki029tAFzvAAK5cf4YV3yoxuP61crYRol6SVg==", + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", + "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.0.0", @@ -931,69 +1015,62 @@ } }, "@babel/preset-typescript": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.9.0.tgz", - "integrity": "sha512-S4cueFnGrIbvYJgwsVFKdvOmpiL0XGw9MFW9D0vgRys5g36PBhZRL8NX8Gr2akz8XRtzq6HuDXPD/1nniagNUg==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.12.7.tgz", + "integrity": "sha512-nOoIqIqBmHBSEgBXWR4Dv/XBehtIFcw9PqZw6rFYuKrzsZmOQm3PR5siLBnKZFEsDb03IegG8nSjU/iXXXYRmw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.8.3", - "@babel/plugin-transform-typescript": "^7.9.0" + "@babel/helper-plugin-utils": "^7.10.4", + "@babel/helper-validator-option": "^7.12.1", + "@babel/plugin-transform-typescript": "^7.12.1" } }, "@babel/runtime": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz", - "integrity": "sha512-NE2DtOdufG7R5vnfQUTehdTfNycfUANEtCa9PssN9O/xmTzP4E08UI797ixaei6hBEVL9BI/PsdJS5x7mWoB9Q==", + "version": "7.12.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.5.tgz", + "integrity": "sha512-plcc+hbExy3McchJCEQG3knOsuh3HH+Prx1P6cLIkET/0dLuQDEnrT+s27Axgc9bqfsmNUNHfscgMUdBpC9xfg==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" } }, "@babel/template": { - "version": "7.8.6", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.6.tgz", - "integrity": "sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.7.tgz", + "integrity": "sha512-GkDzmHS6GV7ZeXfJZ0tLRBhZcMcY0/Lnb+eEbXDBfCAcZCjrZKe6p3J4we/D24O9Y8enxWAg1cWwof59yLh2ow==", "dev": true, "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/parser": "^7.8.6", - "@babel/types": "^7.8.6" + "@babel/code-frame": "^7.10.4", + "@babel/parser": "^7.12.7", + "@babel/types": "^7.12.7" } }, "@babel/traverse": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", - "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "version": "7.12.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.9.tgz", + "integrity": "sha512-iX9ajqnLdoU1s1nHt36JDI9KG4k+vmI8WgjK5d+aDTwQbL2fUnzedNedssA645Ede3PM2ma1n8Q4h2ohwXgMXw==", "dev": true, "requires": { - "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.9.6", - "@babel/helper-function-name": "^7.9.5", - "@babel/helper-split-export-declaration": "^7.8.3", - "@babel/parser": "^7.9.6", - "@babel/types": "^7.9.6", + "@babel/code-frame": "^7.10.4", + "@babel/generator": "^7.12.5", + "@babel/helper-function-name": "^7.10.4", + "@babel/helper-split-export-declaration": "^7.11.0", + "@babel/parser": "^7.12.7", + "@babel/types": "^7.12.7", "debug": "^4.1.0", "globals": "^11.1.0", - "lodash": "^4.17.13" + "lodash": "^4.17.19" } }, "@babel/types": { - "version": "7.9.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", - "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "version": "7.12.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.7.tgz", + "integrity": "sha512-MNyI92qZq6jrQkXvtIiykvl4WtoRrVV9MPn+ZfsoEENjiWcBQ3ZSHrkxnJWgWtLX3XXqX5hrSQ+X69wkmesXuQ==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.9.5", - "lodash": "^4.17.13", + "@babel/helper-validator-identifier": "^7.10.4", + "lodash": "^4.17.19", "to-fast-properties": "^2.0.0" - }, - "dependencies": { - "@babel/helper-validator-identifier": { - "version": "7.9.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", - "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", - "dev": true - } } }, "@jsdevtools/ono": { @@ -1035,17 +1112,6 @@ "dev": true, "requires": { "@octokit/types": "^5.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } } }, "@octokit/core": { @@ -1060,45 +1126,17 @@ "@octokit/types": "^5.0.0", "before-after-hook": "^2.1.0", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - }, - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - } } }, "@octokit/endpoint": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.1.tgz", - "integrity": "sha512-pOPHaSz57SFT/m3R5P8MUu4wLPszokn5pXcB/pzavLTQf2jbU+6iayTvzaY6/BiotuRS0qyEUkx3QglT4U958A==", + "version": "6.0.9", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.9.tgz", + "integrity": "sha512-3VPLbcCuqji4IFTclNUtGdp9v7g+nspWdiCUbK3+iPMjJCZ6LEhn1ts626bWLOn0GiDb6j+uqGvPpqLnY7pBgw==", "dev": true, "requires": { - "@octokit/types": "^2.11.1", - "is-plain-object": "^3.0.0", - "universal-user-agent": "^5.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } + "@octokit/types": "^5.0.0", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" } }, "@octokit/graphql": { @@ -1110,25 +1148,13 @@ "@octokit/request": "^5.3.0", "@octokit/types": "^5.0.0", "universal-user-agent": "^6.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - }, - "universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - } } }, + "@octokit/openapi-types": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-1.2.0.tgz", + "integrity": "sha512-8sfrfr622pv2cXxX3X13KY8hOgIqQE5dAuGw5xRrw3/aQZk1xAtaBCeMQz079bGqa7ZndQfJmHXtk4T5cBYY6w==" + }, "@octokit/plugin-paginate-rest": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.6.0.tgz", @@ -1136,17 +1162,6 @@ "dev": true, "requires": { "@octokit/types": "^5.5.0" - }, - "dependencies": { - "@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } } }, "@octokit/plugin-request-log": { @@ -1163,53 +1178,31 @@ "requires": { "@octokit/types": "^5.5.0", "deprecation": "^2.3.1" - }, - "dependencies": { - "@octokit/types": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", - "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } } }, "@octokit/request": { - "version": "5.4.2", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.2.tgz", - "integrity": "sha512-zKdnGuQ2TQ2vFk9VU8awFT4+EYf92Z/v3OlzRaSh4RIP0H6cvW1BFPXq4XYvNez+TPQjqN+0uSkCYnMFFhcFrw==", + "version": "5.4.10", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.10.tgz", + "integrity": "sha512-egA49HkqEORVGDZGav1mh+VD+7uLgOxtn5oODj6guJk0HCy+YBSYapFkSLFgeYj3Fr18ZULKGURkjyhkAChylw==", "dev": true, "requires": { "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^2.11.1", + "@octokit/types": "^5.0.0", "deprecation": "^2.0.0", - "is-plain-object": "^3.0.0", - "node-fetch": "^2.3.0", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.1", "once": "^1.4.0", - "universal-user-agent": "^5.0.0" - }, - "dependencies": { - "@octokit/types": { - "version": "2.16.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.16.2.tgz", - "integrity": "sha512-O75k56TYvJ8WpAakWwYRN8Bgu60KrmX0z1KqFp1kNiFNkgW+JW+9EBKZ+S33PU6SLvbihqd+3drvPxKK68Ee8Q==", - "dev": true, - "requires": { - "@types/node": ">= 8" - } - } + "universal-user-agent": "^6.0.0" } }, "@octokit/request-error": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.0.tgz", - "integrity": "sha512-rtYicB4Absc60rUv74Rjpzek84UbVHGHJRu4fNVlZ1mCcyUPPuzFfG9Rn6sjHrd95DEsmjSt1Axlc699ZlbDkw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-2.0.3.tgz", + "integrity": "sha512-GgD5z8Btm301i2zfvJLk/mkhvGCdjQ7wT8xF9ov5noQY8WbKZDH9cOBqXzoeKd1mLr1xH2FwbtGso135zGBgTA==", "dev": true, "requires": { - "@octokit/types": "^2.0.0", + "@octokit/types": "^5.0.1", "deprecation": "^2.0.0", "once": "^1.4.0" } @@ -1227,9 +1220,9 @@ } }, "@octokit/types": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.5.0.tgz", - "integrity": "sha512-KEnLwOfdXzxPNL34fj508bhi9Z9cStyN7qY1kOfVahmqtAfrWw6Oq3P4R+dtsg0lYtZdWBpUrS/Ixmd5YILSww==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-5.5.0.tgz", + "integrity": "sha512-UZ1pErDue6bZNjYOotCNveTXArOMZQFG6hKJfOnGnulVCMcVVi7YIIuuR4WfBhjo7zgpmzn/BkPDnUXtNx+PcQ==", "dev": true, "requires": { "@types/node": ">= 8" @@ -1252,212 +1245,59 @@ "execa": "^2.0.3", "resolve-from": "^5.0.0", "yargs-parser": "^13.1.1" + } + }, + "@pika/pack": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/@pika/pack/-/pack-0.5.0.tgz", + "integrity": "sha512-ernb1SHzvk1Mfi8pBVRAaCKtavz80IiIXG5kOuHsM9+ICxspypR6f7kdFWvglJjVhhdBrYSnecFK7W28fZCXjQ==", + "dev": true, + "requires": { + "@pika/cli": "^0.2.0", + "@pika/types": "^0.6.0", + "chalk": "^2.1.0", + "commander": "^2.9.0", + "file-uri-to-path": "^1.0.0", + "glob": "^7.1.1", + "import-from": "^3.0.0", + "invariant": "^2.2.0", + "is-builtin-module": "^3.0.0", + "is-ci": "^2.0.0", + "loud-rejection": "^2.1.0", + "mkdirp": "^0.5.1", + "np": "^5.0.2", + "rimraf": "^2.5.0", + "strip-ansi": "^5.2.0", + "strip-bom": "^4.0.0", + "validate-npm-package-license": "^3.0.4", + "yargs-parser": "^13.1.1" + } + }, + "@pika/plugin-build-node": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@pika/plugin-build-node/-/plugin-build-node-0.9.2.tgz", + "integrity": "sha512-NJhnx5UdOKRz4+3eSienp3vlwUTFYDtz2xAKlswb1td0q5n4gkxZhXoImNzF9PfAaMOXIb+7ngaBNSDiHguTkw==", + "dev": true, + "requires": { + "@babel/core": "^7.0.0", + "@babel/plugin-syntax-dynamic-import": "^7.2.0", + "@babel/plugin-syntax-import-meta": "^7.2.0", + "@babel/preset-env": "^7.2.3", + "@pika/types": "^0.9.2", + "babel-plugin-dynamic-import-node-babel-7": "^2.0.7", + "builtin-modules": "^3.0.0", + "rollup": "^1.1.0", + "rollup-plugin-babel": "^4.3.0" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "@pika/types": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@pika/types/-/types-0.9.2.tgz", + "integrity": "sha512-AzZTkHtM0A67+xMVhmSeJDteSMS+RfXGuM+/oVbo1PGD19ic7fuimv5b0TW8dKoZuxpVxiwVAai+sFRSNmfI3g==", "dev": true - }, - "cross-spawn": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", - "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "execa": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-2.1.0.tgz", - "integrity": "sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^3.0.0", - "onetime": "^5.1.0", - "p-finally": "^2.0.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } - }, - "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, - "npm-run-path": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz", - "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", - "dev": true, - "requires": { - "path-key": "^3.0.0" - } - }, - "p-finally": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz", - "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", - "dev": true - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "yargs-parser": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", - "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } - } - } - }, - "@pika/pack": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/@pika/pack/-/pack-0.5.0.tgz", - "integrity": "sha512-ernb1SHzvk1Mfi8pBVRAaCKtavz80IiIXG5kOuHsM9+ICxspypR6f7kdFWvglJjVhhdBrYSnecFK7W28fZCXjQ==", - "dev": true, - "requires": { - "@pika/cli": "^0.2.0", - "@pika/types": "^0.6.0", - "chalk": "^2.1.0", - "commander": "^2.9.0", - "file-uri-to-path": "^1.0.0", - "glob": "^7.1.1", - "import-from": "^3.0.0", - "invariant": "^2.2.0", - "is-builtin-module": "^3.0.0", - "is-ci": "^2.0.0", - "loud-rejection": "^2.1.0", - "mkdirp": "^0.5.1", - "np": "^5.0.2", - "rimraf": "^2.5.0", - "strip-ansi": "^5.2.0", - "strip-bom": "^4.0.0", - "validate-npm-package-license": "^3.0.4", - "yargs-parser": "^13.1.1" - }, - "dependencies": { - "@pika/types": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/@pika/types/-/types-0.6.1.tgz", - "integrity": "sha512-1ZsOHGc0qJDofO+/98PfchHJqJjtfZL3liVGi4QZ28GtLmTVuZ4SUJFa5NgbsYawnrr//pdNOfx9JiaLFKpzrA==", - "dev": true - }, - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, - "loud-rejection": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-2.2.0.tgz", - "integrity": "sha512-S0FayMXku80toa5sZ6Ro4C+s+EtFDCsyJNG/AzFMfX3AxD5Si4dZsgzm/kKnbOxHl5Cv8jBlno8+3XYIh2pNjQ==", - "dev": true, - "requires": { - "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.2" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, - "strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true - }, - "yargs-parser": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", - "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } } } }, - "@pika/plugin-build-node": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/@pika/plugin-build-node/-/plugin-build-node-0.9.2.tgz", - "integrity": "sha512-NJhnx5UdOKRz4+3eSienp3vlwUTFYDtz2xAKlswb1td0q5n4gkxZhXoImNzF9PfAaMOXIb+7ngaBNSDiHguTkw==", - "dev": true, - "requires": { - "@babel/core": "^7.0.0", - "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/plugin-syntax-import-meta": "^7.2.0", - "@babel/preset-env": "^7.2.3", - "@pika/types": "^0.9.2", - "babel-plugin-dynamic-import-node-babel-7": "^2.0.7", - "builtin-modules": "^3.0.0", - "rollup": "^1.1.0", - "rollup-plugin-babel": "^4.3.0" - } - }, "@pika/plugin-build-web": { "version": "0.9.2", "resolved": "https://registry.npmjs.org/@pika/plugin-build-web/-/plugin-build-web-0.9.2.tgz", @@ -1469,10 +1309,16 @@ "rollup": "^1.1.0" }, "dependencies": { + "@pika/types": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@pika/types/-/types-0.9.2.tgz", + "integrity": "sha512-AzZTkHtM0A67+xMVhmSeJDteSMS+RfXGuM+/oVbo1PGD19ic7fuimv5b0TW8dKoZuxpVxiwVAai+sFRSNmfI3g==", + "dev": true + }, "@types/node": { - "version": "10.17.21", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.21.tgz", - "integrity": "sha512-PQKsydPxYxF1DsAFWmunaxd3sOi3iMt6Zmx/tgaagHYmwJ/9cRH91hQkeJZaUGWbvn0K5HlSVEXkn5U/llWPpQ==", + "version": "10.17.47", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.47.tgz", + "integrity": "sha512-YZ1mMAdUPouBZCdeugjV8y1tqqr28OyL8DYbH5ePCfe9zcXtvbh1wDBy7uzlHkXo3Qi07kpzXfvycvrkby/jXw==", "dev": true } } @@ -1488,106 +1334,24 @@ "standard-pkg": "^0.5.0" }, "dependencies": { - "cross-spawn": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", - "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, - "execa": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-2.1.0.tgz", - "integrity": "sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^3.0.0", - "onetime": "^5.1.0", - "p-finally": "^2.0.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } - }, - "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, - "npm-run-path": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz", - "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", - "dev": true, - "requires": { - "path-key": "^3.0.0" - } - }, - "p-finally": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz", - "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", - "dev": true - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "@pika/types": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@pika/types/-/types-0.9.2.tgz", + "integrity": "sha512-AzZTkHtM0A67+xMVhmSeJDteSMS+RfXGuM+/oVbo1PGD19ic7fuimv5b0TW8dKoZuxpVxiwVAai+sFRSNmfI3g==", "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } } } }, "@pika/types": { - "version": "0.9.2", - "resolved": "https://registry.npmjs.org/@pika/types/-/types-0.9.2.tgz", - "integrity": "sha512-AzZTkHtM0A67+xMVhmSeJDteSMS+RfXGuM+/oVbo1PGD19ic7fuimv5b0TW8dKoZuxpVxiwVAai+sFRSNmfI3g==", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/@pika/types/-/types-0.6.1.tgz", + "integrity": "sha512-1ZsOHGc0qJDofO+/98PfchHJqJjtfZL3liVGi4QZ28GtLmTVuZ4SUJFa5NgbsYawnrr//pdNOfx9JiaLFKpzrA==", "dev": true }, "@samverschueren/stream-to-observable": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz", - "integrity": "sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.1.tgz", + "integrity": "sha512-c/qwwcHyafOQuVQJj0IlBjf5yYgBI7YPJ77k4fOJYesb41jio65eaJODRUmfYKhTOFBrIZ66kgvGPlNbjuoRdQ==", "dev": true, "requires": { "any-observable": "^0.3.0" @@ -1644,6 +1408,28 @@ "p-filter": "^2.0.0", "p-retry": "^4.0.0", "url-join": "^4.0.0" + }, + "dependencies": { + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "globby": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz", + "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + } + } } }, "@semantic-release/npm": { @@ -1667,17 +1453,6 @@ "tempy": "^1.0.0" }, "dependencies": { - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "execa": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", @@ -1695,19 +1470,10 @@ "strip-final-newline": "^2.0.0" } }, - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "normalize-url": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-5.3.0.tgz", + "integrity": "sha512-9/nOVLYYe/dO/eJeQUNaGUF4m4Z5E7cb9oNTKabH+bNf19mqj60txTcveQxL0GlcWLXCxkOu2/LwL8oW0idIDA==", "dev": true }, "npm-run-path": { @@ -1731,12 +1497,6 @@ "lines-and-columns": "^1.1.6" } }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, "read-pkg": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", @@ -1755,35 +1515,11 @@ "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, "type-fest": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } } } }, @@ -1803,17 +1539,6 @@ "into-stream": "^5.0.0", "lodash": "^4.17.4", "read-pkg-up": "^7.0.0" - }, - "dependencies": { - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - } } }, "@sindresorhus/is": { @@ -1837,31 +1562,18 @@ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", "dev": true }, - "@types/color-name": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", - "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", - "dev": true - }, "@types/estree": { - "version": "0.0.44", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.44.tgz", - "integrity": "sha512-iaIVzr+w2ZJ5HkidlZ3EJM8VTZb2MJLCjw3V+505yVts0gRC4UMvjw0d1HPtGqI/HQC/KdsYtayfzl+AXY2R8g==", - "dev": true - }, - "@types/events": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz", - "integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==", + "version": "0.0.45", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.45.tgz", + "integrity": "sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==", "dev": true }, "@types/glob": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz", - "integrity": "sha512-1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", "dev": true, "requires": { - "@types/events": "*", "@types/minimatch": "*", "@types/node": "*" } @@ -1879,9 +1591,9 @@ "dev": true }, "@types/minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.1.tgz", + "integrity": "sha512-fZQQafSREFyuZcdWFAExYjBiCL7AUCdgsk80iO0q4yihYYdcIiH28CcuPTGFgLOCC8RlW49GSQxdHwZP+I7CNg==", "dev": true }, "@types/node": { @@ -1918,9 +1630,9 @@ } }, "acorn": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.2.0.tgz", - "integrity": "sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ==", + "version": "7.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", + "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", "dev": true }, "agent-base": { @@ -1959,12 +1671,6 @@ "string-width": "^3.0.0" }, "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -1987,15 +1693,6 @@ "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^5.1.0" } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } } } }, @@ -2006,14 +1703,6 @@ "dev": true, "requires": { "type-fest": "^0.11.0" - }, - "dependencies": { - "type-fest": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", - "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", - "dev": true - } } }, "ansi-regex": { @@ -2077,10 +1766,13 @@ "dev": true }, "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "^1.0.1" + } }, "array-uniq": { "version": "1.0.3", @@ -2158,18 +1850,6 @@ "widest-line": "^2.0.0" }, "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "emoji-regex": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", @@ -2193,15 +1873,6 @@ "strip-ansi": "^5.1.0" } }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, "type-fest": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", @@ -2230,15 +1901,16 @@ } }, "browserslist": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.12.0.tgz", - "integrity": "sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg==", + "version": "4.14.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.7.tgz", + "integrity": "sha512-BSVRLCeG3Xt/j/1cCGj1019Wbty0H+Yvu2AOuZSuoaUWn3RatbL33Cxk+Q4jRMRAbOm0p7SLravLjpnT6s0vzQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001043", - "electron-to-chromium": "^1.3.413", - "node-releases": "^1.1.53", - "pkg-up": "^2.0.0" + "caniuse-lite": "^1.0.30001157", + "colorette": "^1.2.1", + "electron-to-chromium": "^1.3.591", + "escalade": "^3.1.1", + "node-releases": "^1.1.66" } }, "builtin-modules": { @@ -2268,29 +1940,24 @@ "responselike": "^1.0.2" }, "dependencies": { - "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, "lowercase-keys": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", "dev": true - }, - "normalize-url": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", - "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==", - "dev": true } } }, + "call-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.0.tgz", + "integrity": "sha512-AEXsYIyyDY3MCzbwdhzG3Jx1R0J2wetQyUynn6dYHAO+bg8l1k7jwZtRv4ryryFs7EP+NDlikJlVe59jr0cM2w==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.0" + } + }, "call-me-maybe": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", @@ -2304,14 +1971,6 @@ "dev": true, "requires": { "callsites": "^2.0.0" - }, - "dependencies": { - "callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", - "dev": true - } } }, "caller-path": { @@ -2324,15 +1983,15 @@ } }, "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", "dev": true }, "camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "camelcase-keys": { @@ -2344,12 +2003,20 @@ "camelcase": "^4.1.0", "map-obj": "^2.0.0", "quick-lru": "^1.0.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + } } }, "caniuse-lite": { - "version": "1.0.30001055", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001055.tgz", - "integrity": "sha512-MbwsBmKrBSKIWldfdIagO5OJWZclpJtS4h0Jrk/4HFrXJxTdVdH23Fd+xCiHriVGvYcWyW8mR/CPsYajlH8Iuw==", + "version": "1.0.30001161", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001161.tgz", + "integrity": "sha512-JharrCDxOqPLBULF9/SPa6yMcBRTjZARJ6sc3cuKrPfyIk64JN6kuMINWqA99Xc8uElMFcROliwtz0n9pYej+g==", "dev": true }, "cardinal": { @@ -2392,9 +2059,9 @@ "dev": true }, "cli-boxes": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz", - "integrity": "sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz", + "integrity": "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==", "dev": true }, "cli-color": { @@ -2485,9 +2152,9 @@ } }, "cli-width": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", - "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", "dev": true }, "cliui": { @@ -2499,6 +2166,52 @@ "string-width": "^4.2.0", "strip-ansi": "^6.0.0", "wrap-ansi": "^6.2.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + } } }, "clone-response": { @@ -2531,6 +2244,12 @@ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, + "colorette": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz", + "integrity": "sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==", + "dev": true + }, "colors": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/colors/-/colors-1.0.3.tgz", @@ -2551,6 +2270,23 @@ "requires": { "array-ify": "^1.0.0", "dot-prop": "^5.1.0" + }, + "dependencies": { + "dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "requires": { + "is-obj": "^2.0.0" + } + }, + "is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true + } } }, "concat-map": { @@ -2571,40 +2307,6 @@ "unique-string": "^1.0.0", "write-file-atomic": "^2.0.0", "xdg-basedir": "^3.0.0" - }, - "dependencies": { - "crypto-random-string": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", - "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=", - "dev": true - }, - "dot-prop": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", - "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", - "dev": true, - "requires": { - "is-obj": "^1.0.0" - }, - "dependencies": { - "is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", - "dev": true - } - } - }, - "unique-string": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", - "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", - "dev": true, - "requires": { - "crypto-random-string": "^1.0.0" - } - } } }, "conventional-changelog-angular": { @@ -2635,12 +2337,6 @@ "through2": "^4.0.0" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "camelcase-keys": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", @@ -2748,22 +2444,6 @@ "strip-indent": "^3.0.0" } }, - "resolve": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", - "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", - "dev": true, - "requires": { - "is-core-module": "^2.1.0", - "path-parse": "^1.0.6" - } - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, "strip-indent": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", @@ -2779,10 +2459,10 @@ "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", "dev": true }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true }, "yargs-parser": { @@ -2818,12 +2498,6 @@ "trim-off-newlines": "^1.0.0" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "camelcase-keys": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", @@ -2923,16 +2597,6 @@ "strip-indent": "^3.0.0" } }, - "resolve": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", - "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", - "dev": true, - "requires": { - "is-core-module": "^2.1.0", - "path-parse": "^1.0.6" - } - }, "semver": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", @@ -2954,10 +2618,10 @@ "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", "dev": true }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", "dev": true }, "yargs-parser": { @@ -2978,12 +2642,12 @@ } }, "core-js-compat": { - "version": "3.6.5", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.5.tgz", - "integrity": "sha512-7ItTKOhOZbznhXAQ2g/slGg1PJV5zDO/WdkTwi7UEOJmkvsE32PWvx6mKtDjiMpjnR2CNf6BAD6sSxIlv7ptng==", + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.8.0.tgz", + "integrity": "sha512-o9QKelQSxQMYWHXc/Gc4L8bx/4F7TTraE5rhuN8I7mKBt5dBIUpXpIR3omv70ebr8ST5R3PqbDQr+ZI3+Tt1FQ==", "dev": true, "requires": { - "browserslist": "^4.8.5", + "browserslist": "^4.14.7", "semver": "7.0.0" }, "dependencies": { @@ -3002,55 +2666,32 @@ "dev": true }, "cosmiconfig": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", - "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", "dev": true, "requires": { - "@types/parse-json": "^4.0.0", - "import-fresh": "^3.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0", - "yaml": "^1.7.2" - }, - "dependencies": { - "parse-json": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", - "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - } - }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - } + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" } }, "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", "dev": true, "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" } }, "crypto-random-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", - "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-1.0.0.tgz", + "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=", "dev": true }, "currently-unhandled": { @@ -3085,12 +2726,12 @@ "dev": true }, "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", "dev": true, "requires": { - "ms": "^2.1.1" + "ms": "2.1.2" } }, "decamelize": { @@ -3160,44 +2801,6 @@ "p-map": "^2.0.0", "pify": "^4.0.1", "rimraf": "^2.6.3" - }, - "dependencies": { - "array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dev": true, - "requires": { - "array-uniq": "^1.0.1" - } - }, - "globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "requires": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "dependencies": { - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - } - } - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - } } }, "deprecation": { @@ -3230,12 +2833,12 @@ } }, "dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz", + "integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==", "dev": true, "requires": { - "is-obj": "^2.0.0" + "is-obj": "^1.0.0" } }, "duplexer2": { @@ -3254,9 +2857,9 @@ "dev": true }, "electron-to-chromium": { - "version": "1.3.434", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.434.tgz", - "integrity": "sha512-WjzGrE6appXvMyc2kH9Ide7OxsgTuRzag9sjQ5AcbOnbS9ut7P1HzOeEbJFLhr81IR7n2Hlr6qTTSGTXLIX5Pg==", + "version": "1.3.607", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.607.tgz", + "integrity": "sha512-h2SYNaBnlplGS0YyXl8oJWokfcNxVjJANQfMCsQefG6OSuAuNIeW+A8yGT/ci+xRoBb3k2zq1FrOvkgoKBol8g==", "dev": true }, "elegant-spinner": { @@ -3290,17 +2893,6 @@ "java-properties": "^1.0.0" }, "dependencies": { - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "execa": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", @@ -3318,21 +2910,6 @@ "strip-final-newline": "^2.0.0" } }, - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, "npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -3341,36 +2918,6 @@ "requires": { "path-key": "^3.0.0" } - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } } } }, @@ -3384,22 +2931,23 @@ } }, "es-abstract": { - "version": "1.17.5", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", - "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "version": "1.18.0-next.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz", + "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==", "dev": true, "requires": { "es-to-primitive": "^1.2.1", "function-bind": "^1.1.1", "has": "^1.0.3", "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", - "object-inspect": "^1.7.0", + "is-callable": "^1.2.2", + "is-negative-zero": "^2.0.0", + "is-regex": "^1.1.1", + "object-inspect": "^1.8.0", "object-keys": "^1.1.1", - "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" + "object.assign": "^4.1.1", + "string.prototype.trimend": "^1.0.1", + "string.prototype.trimstart": "^1.0.1" } }, "es-to-primitive": { @@ -3457,6 +3005,12 @@ "es6-symbol": "^3.1.1" } }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", @@ -3492,18 +3046,20 @@ } }, "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-2.1.0.tgz", + "integrity": "sha512-Y/URAVapfbYy2Xp/gb6A0E7iR8xeqOCXsuuaoMn7A5PzrXUK84E1gyiEfq0wQd/GHA6GsoHWwhNq8anb0mleIw==", "dev": true, "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^3.0.0", + "onetime": "^5.1.0", + "p-finally": "^2.0.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" } }, "ext": { @@ -3634,9 +3190,9 @@ "dev": true }, "gensync": { - "version": "1.0.0-beta.1", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", - "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true }, "get-caller-file": { @@ -3645,10 +3201,21 @@ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, + "get-intrinsic": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.1.tgz", + "integrity": "sha512-ZnWP+AmS1VUaLgTRy47+zKtjTxz+0xMpx3I52i+aalBK1QP19ggLF3Db89KJX7kjfOfP2eoa01qc++GwPgufPg==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", "dev": true, "requires": { "pump": "^3.0.0" @@ -3743,17 +3310,24 @@ "dev": true }, "globby": { - "version": "11.0.1", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz", - "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", "dev": true, "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.1.1", - "ignore": "^5.1.4", - "merge2": "^1.3.0", - "slash": "^3.0.0" + "array-union": "^1.0.1", + "glob": "^7.0.3", + "object-assign": "^4.0.1", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } } }, "got": { @@ -3773,12 +3347,23 @@ "p-cancelable": "^1.0.0", "to-readable-stream": "^1.0.0", "url-parse-lax": "^3.0.0" + }, + "dependencies": { + "get-stream": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + } } }, "graceful-fs": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", "dev": true }, "handlebars": { @@ -3792,6 +3377,14 @@ "source-map": "^0.6.1", "uglify-js": "^3.1.4", "wordwrap": "^1.0.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } } }, "hard-rejection": { @@ -3845,9 +3438,9 @@ "dev": true }, "highlight.js": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.2.0.tgz", - "integrity": "sha512-OryzPiqqNCfO/wtFo619W+nPYALM6u7iCQkum4bqRmmlcTikOkmlL06i009QelynBPAlNByTQU6cBB2cOBQtCw==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-10.4.0.tgz", + "integrity": "sha512-EfrUGcQ63oLJbj0J0RI9ebX6TAITbsDBLbsjr881L/X5fMO9+oadKzEF21C7R3ULKG6Gv3uoab2HiqVJa/4+oA==", "dev": true }, "hook-std": { @@ -3857,10 +3450,13 @@ "dev": true }, "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", - "dev": true + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", + "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } }, "http-cache-semantics": { "version": "4.1.0", @@ -3911,19 +3507,19 @@ "dev": true }, "import-fresh": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz", - "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", "dev": true, "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" }, "dependencies": { "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", "dev": true } } @@ -3978,40 +3574,39 @@ "dev": true }, "inquirer": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.1.0.tgz", - "integrity": "sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==", + "version": "7.3.3", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", + "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", "dev": true, "requires": { "ansi-escapes": "^4.2.1", - "chalk": "^3.0.0", + "chalk": "^4.1.0", "cli-cursor": "^3.1.0", - "cli-width": "^2.0.0", + "cli-width": "^3.0.0", "external-editor": "^3.0.3", "figures": "^3.0.0", - "lodash": "^4.17.15", + "lodash": "^4.17.19", "mute-stream": "0.0.8", "run-async": "^2.4.0", - "rxjs": "^6.5.3", + "rxjs": "^6.6.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6" }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, "chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", "dev": true, "requires": { "ansi-styles": "^4.1.0", @@ -4039,10 +3634,19 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -4082,6 +3686,12 @@ "restore-cursor": "^2.0.0" } }, + "cli-width": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "dev": true + }, "figures": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", @@ -4169,23 +3779,6 @@ } } } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - } - } } } }, @@ -4203,6 +3796,14 @@ "requires": { "from2": "^2.3.0", "p-is-promise": "^3.0.0" + }, + "dependencies": { + "p-is-promise": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", + "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", + "dev": true + } } }, "invariant": { @@ -4215,9 +3816,9 @@ } }, "ip-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.1.0.tgz", - "integrity": "sha512-pKnZpbgCTfH/1NLIlOduP/V+WRXzC2MOz3Qo8xmxk8C5GudJLgK5QyLVXOSWy3ParAH7Eemurl3xjv/WXYFvMA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz", + "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A==", "dev": true }, "is-arrayish": { @@ -4236,9 +3837,9 @@ } }, "is-callable": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", - "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", + "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", "dev": true }, "is-ci": { @@ -4272,9 +3873,9 @@ "dev": true }, "is-docker": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.0.0.tgz", - "integrity": "sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.1.1.tgz", + "integrity": "sha512-ZOoqiXfEwtGknTiuDEy8pN2CfE3TxMHprvNer1mXiqwkOT77Rw3YVrUQ52EqAOU3QAWDQ+bQdx7HJzrv7LS2Hw==", "dev": true }, "is-extglob": { @@ -4316,6 +3917,12 @@ } } }, + "is-negative-zero": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz", + "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE=", + "dev": true + }, "is-npm": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-3.0.0.tgz", @@ -4329,9 +3936,9 @@ "dev": true }, "is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", "dev": true }, "is-observable": { @@ -4374,13 +3981,10 @@ "dev": true }, "is-plain-object": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-3.0.0.tgz", - "integrity": "sha512-tZIpofR+P05k8Aocp7UI/2UTa9lTJSebCXpFFoR9aibpokDj/uXBsJ8luUu0tTVYKkMU6URDUuOfJZ7koewXvg==", - "dev": true, - "requires": { - "isobject": "^4.0.0" - } + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true }, "is-promise": { "version": "2.2.2", @@ -4389,12 +3993,12 @@ "dev": true }, "is-regex": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", - "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", + "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", "dev": true, "requires": { - "has": "^1.0.3" + "has-symbols": "^1.0.1" } }, "is-scoped": { @@ -4407,9 +4011,9 @@ } }, "is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", "dev": true }, "is-symbol": { @@ -4466,12 +4070,6 @@ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", "dev": true }, - "isobject": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-4.0.0.tgz", - "integrity": "sha512-S/2fF5wH8SJA/kmwr6HYhK/RI/OkhD84k8ntalo0iJjZikgq1XFvR5M8NPT1x5F7fBwCG3qHfnzeP/Vh/ZxCUA==", - "dev": true - }, "issue-parser": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/issue-parser/-/issue-parser-6.0.0.tgz", @@ -4504,9 +4102,9 @@ "dev": true }, "js-yaml": { - "version": "3.13.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", - "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "version": "3.14.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", + "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", "dev": true, "requires": { "argparse": "^1.0.7", @@ -4597,13 +4195,21 @@ } }, "jsonfile": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.0.1.tgz", - "integrity": "sha512-jR2b5v7d2vIOust+w3wtFKZIfpC2pnRmFAhAC/BuweZFQR8qZzxH1OyrQ10HmdVYiXWkYUqPVsz91cG7EL2FBg==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", "dev": true, "requires": { "graceful-fs": "^4.1.6", - "universalify": "^1.0.0" + "universalify": "^2.0.0" + }, + "dependencies": { + "universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true + } } }, "jsonparse": { @@ -4636,21 +4242,6 @@ "package-json": "^6.3.0" } }, - "leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true - }, - "levenary": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz", - "integrity": "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==", - "dev": true, - "requires": { - "leven": "^3.1.0" - } - }, "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", @@ -4672,6 +4263,14 @@ "listr-verbose-renderer": "^0.5.0", "p-map": "^2.0.0", "rxjs": "^6.3.3" + }, + "dependencies": { + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + } } }, "listr-input": { @@ -4836,6 +4435,20 @@ "parse-json": "^4.0.0", "pify": "^3.0.0", "strip-bom": "^3.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } } }, "locate-path": { @@ -4849,9 +4462,9 @@ } }, "lodash": { - "version": "4.17.19", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", - "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==", + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", "dev": true }, "lodash.capitalize": { @@ -4934,12 +4547,6 @@ "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", "dev": true }, - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, "cli-cursor": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", @@ -4949,12 +4556,6 @@ "restore-cursor": "^2.0.0" } }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, "mimic-fn": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", @@ -4979,35 +4580,6 @@ "onetime": "^2.0.0", "signal-exit": "^3.0.2" } - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dev": true, - "requires": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - } - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - }, - "wrap-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz", - "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=", - "dev": true, - "requires": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0" - } } } }, @@ -5021,13 +4593,13 @@ } }, "loud-rejection": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", - "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-2.2.0.tgz", + "integrity": "sha512-S0FayMXku80toa5sZ6Ro4C+s+EtFDCsyJNG/AzFMfX3AxD5Si4dZsgzm/kKnbOxHl5Cv8jBlno8+3XYIh2pNjQ==", "dev": true, "requires": { "currently-unhandled": "^0.4.1", - "signal-exit": "^3.0.0" + "signal-exit": "^3.0.2" } }, "lower-case": { @@ -5046,12 +4618,12 @@ "dev": true }, "lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", "dev": true, "requires": { - "yallist": "^3.0.2" + "yallist": "^4.0.0" } }, "lru-queue": { @@ -5069,12 +4641,6 @@ "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", "dev": true }, - "macos-release": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/macos-release/-/macos-release-2.3.0.tgz", - "integrity": "sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA==", - "dev": true - }, "make-dir": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", @@ -5082,6 +4648,14 @@ "dev": true, "requires": { "pify": "^3.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } } }, "map-age-cleaner": { @@ -5100,9 +4674,9 @@ "dev": true }, "marked": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-1.1.1.tgz", - "integrity": "sha512-mJzT8D2yPxoPh7h0UXkB+dBj4FykPJ2OIfxAWeIHrvoHDkFxukV/29QxoFQoPM6RLEwhIFdJpmKBlqVM3s2ZIw==", + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/marked/-/marked-1.2.5.tgz", + "integrity": "sha512-2AlqgYnVPOc9WDyWu7S5DJaEZsfk6dNh/neatQ3IHUW4QLutM/VPSH9lG7bif+XjFWc9K9XR3QvR+fXuECmfdA==", "dev": true }, "marked-terminal": { @@ -5179,14 +4753,6 @@ "map-age-cleaner": "^0.1.1", "mimic-fn": "^2.0.0", "p-is-promise": "^2.0.0" - }, - "dependencies": { - "p-is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", - "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", - "dev": true - } } }, "memoizee": { @@ -5228,6 +4794,22 @@ "yargs-parser": "^10.0.0" }, "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, "read-pkg-up": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", @@ -5237,6 +4819,15 @@ "find-up": "^2.0.0", "read-pkg": "^3.0.0" } + }, + "yargs-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", + "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } } } }, @@ -5350,9 +4941,9 @@ } }, "neo-async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", "dev": true }, "nerf-dart": { @@ -5399,9 +4990,9 @@ "dev": true }, "node-releases": { - "version": "1.1.55", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.55.tgz", - "integrity": "sha512-H3R3YR/8TjT5WPin/wOoHOUPHgvj8leuU/Keta/rwelEQN9pA/S2Dx8/se4pZ2LBxSd0nAGzsNzhqwa77v7F1w==", + "version": "1.1.67", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz", + "integrity": "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==", "dev": true }, "normalize-package-data": { @@ -5414,12 +5005,26 @@ "resolve": "^1.10.0", "semver": "2 || 3 || 4 || 5", "validate-npm-package-license": "^3.0.1" + }, + "dependencies": { + "hosted-git-info": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", + "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } } }, "normalize-url": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-5.3.0.tgz", - "integrity": "sha512-9/nOVLYYe/dO/eJeQUNaGUF4m4Z5E7cb9oNTKabH+bNf19mqj60txTcveQxL0GlcWLXCxkOu2/LwL8oW0idIDA==", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz", + "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==", "dev": true }, "np": { @@ -5464,12 +5069,11 @@ }, "dependencies": { "ansi-styles": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", - "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "requires": { - "@types/color-name": "^1.1.1", "color-convert": "^2.0.1" } }, @@ -5498,29 +5102,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", - "dev": true, - "requires": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" - } - }, - "cross-spawn": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", - "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "escape-string-regexp": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", @@ -5545,46 +5126,12 @@ "strip-final-newline": "^2.0.0" } }, - "get-stream": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", - "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, "has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "hosted-git-info": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.4.tgz", - "integrity": "sha512-4oT62d2jwSDBbLLFLZE+1vPuQ1h8p9wjrJ8Mqx5TjsyWmBMV5B13eJqn8pvluqubLf3cJPTfiYCIwNwDNmzScQ==", - "dev": true, - "requires": { - "lru-cache": "^5.1.1" - } - }, - "import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", - "dev": true, - "requires": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" - } - }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, "npm-run-path": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", @@ -5594,62 +5141,14 @@ "path-key": "^3.0.0" } }, - "p-finally": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz", - "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", - "dev": true - }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", - "dev": true - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" } - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } } } }, @@ -9164,139 +8663,357 @@ } } }, - "yargs-parser": { - "version": "15.0.1", - "bundled": true, + "yargs-parser": { + "version": "15.0.1", + "bundled": true, + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "dependencies": { + "camelcase": { + "version": "5.3.1", + "bundled": true, + "dev": true + } + } + } + } + }, + "npm-name": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/npm-name/-/npm-name-5.5.0.tgz", + "integrity": "sha512-l7/uyVfEi2e3ho+ovaJZC0xlbwzXNUz3RxkxpfcnLuoGKAuYoo9YoJ/uy18PsTD8IziugGHks4t/mGmBJEZ4Qg==", + "dev": true, + "requires": { + "got": "^9.6.0", + "is-scoped": "^2.1.0", + "is-url-superb": "^3.0.0", + "lodash.zip": "^4.2.0", + "registry-auth-token": "^4.0.0", + "registry-url": "^5.1.0", + "validate-npm-package-name": "^3.0.0" + } + }, + "npm-run-all": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", + "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "chalk": "^2.4.1", + "cross-spawn": "^6.0.5", + "memorystream": "^0.3.1", + "minimatch": "^3.0.4", + "pidtree": "^0.3.0", + "read-pkg": "^3.0.0", + "shell-quote": "^1.6.1", + "string.prototype.padend": "^3.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "npm-run-path": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz", + "integrity": "sha512-Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==", + "dev": true, + "requires": { + "path-key": "^3.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-inspect": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.8.0.tgz", + "integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "open": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/open/-/open-7.3.0.tgz", + "integrity": "sha512-mgLwQIx2F/ye9SmbrUkurZCnkoXyXyu9EbHtJZrICjVAJfyMArdHp3KkixGdZx1ZHFPNIwl0DDM1dFFqXbTLZw==", + "dev": true, + "requires": { + "is-docker": "^2.0.0", + "is-wsl": "^2.1.1" + } + }, + "openapi-typescript": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/openapi-typescript/-/openapi-typescript-2.4.2.tgz", + "integrity": "sha512-Kq5GjX4t0T/9bEn5wSHZV6nvT6bcrD4MZ4Q7B29mtv9YHYXzbaCKW+PwwiR5PQKdVhqEvtMioi4umkMPMGBtIA==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "js-yaml": "^3.14.0", + "meow": "^8.0.0", + "prettier": "^2.1.2" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + } + }, + "chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true + }, + "map-obj": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.1.0.tgz", + "integrity": "sha512-glc9y00wgtwcDmp7GaE/0b0OnxpNJsVf3ael/An6Fe2Q51LLwN1er6sdomLRzz5h0+yMpiYLhWYF5R7HeqVd4g==", + "dev": true + }, + "meow": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.0.0.tgz", + "integrity": "sha512-nbsTRz2fwniJBFgUkcdISq8y/q9n9VbiHYbfwklFh5V4V2uAcxtKQkDc0yCLPM/kP0d+inZBewn3zJqewHE7kg==", + "dev": true, + "requires": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + } + }, + "minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "requires": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + } + }, + "normalize-package-data": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.0.tgz", + "integrity": "sha512-6lUjEI0d3v6kFrtgA/lOx4zHCWULXsFNIjHolnZCKCTLA6m/G625cdn3O7eNmT0iD3jfo6HZ9cdImGZwf21prw==", + "dev": true, + "requires": { + "hosted-git-info": "^3.0.6", + "resolve": "^1.17.0", + "semver": "^7.3.2", + "validate-npm-package-license": "^3.0.1" + } + }, + "quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true + }, + "redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", "dev": true, "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - }, - "dependencies": { - "camelcase": { - "version": "5.3.1", - "bundled": true, - "dev": true - } + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + } + }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true + }, + "strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "requires": { + "min-indent": "^1.0.0" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" } + }, + "trim-newlines": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz", + "integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==", + "dev": true + }, + "type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true } } }, - "npm-name": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/npm-name/-/npm-name-5.5.0.tgz", - "integrity": "sha512-l7/uyVfEi2e3ho+ovaJZC0xlbwzXNUz3RxkxpfcnLuoGKAuYoo9YoJ/uy18PsTD8IziugGHks4t/mGmBJEZ4Qg==", - "dev": true, - "requires": { - "got": "^9.6.0", - "is-scoped": "^2.1.0", - "is-url-superb": "^3.0.0", - "lodash.zip": "^4.2.0", - "registry-auth-token": "^4.0.0", - "registry-url": "^5.1.0", - "validate-npm-package-name": "^3.0.0" - } - }, - "npm-run-all": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", - "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.1", - "chalk": "^2.4.1", - "cross-spawn": "^6.0.5", - "memorystream": "^0.3.1", - "minimatch": "^3.0.4", - "pidtree": "^0.3.0", - "read-pkg": "^3.0.0", - "shell-quote": "^1.6.1", - "string.prototype.padend": "^3.0.0" - } - }, - "npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dev": true, - "requires": { - "path-key": "^2.0.0" - } - }, - "number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "dev": true - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "object-inspect": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", - "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object.assign": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", - "dev": true, - "requires": { - "define-properties": "^1.1.2", - "function-bind": "^1.1.1", - "has-symbols": "^1.0.0", - "object-keys": "^1.0.11" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "onetime": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", - "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", - "dev": true, - "requires": { - "mimic-fn": "^2.1.0" - } - }, - "open": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/open/-/open-7.0.3.tgz", - "integrity": "sha512-sP2ru2v0P290WFfv49Ap8MF6PkzGNnGlAwHweB4WR4mr5d2d0woiCluUeJ218w7/+PmoBy9JmYgD5A4mLcWOFA==", - "dev": true, - "requires": { - "is-docker": "^2.0.0", - "is-wsl": "^2.1.1" - } - }, - "os-name": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-name/-/os-name-3.1.0.tgz", - "integrity": "sha512-h8L+8aNjNcMpo/mAIBPn5PXCM16iyPGjHNWo6U1YO8sJTMHtEtyczI6QJnLoplswm6goopQkqc7OAnjhWcugVg==", - "dev": true, - "requires": { - "macos-release": "^2.2.0", - "windows-release": "^3.1.0" - } - }, "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", @@ -9348,15 +9065,15 @@ } }, "p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz", + "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", "dev": true }, "p-is-promise": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-3.0.0.tgz", - "integrity": "sha512-Wo8VsW4IRQSKVXsJCn7TomUaVtyfjVDn3nUP7kE967BQk0CwFpdbZs0X0uk5sW9mkBa9eNM7hCMaG93WUAwxYQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", + "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", "dev": true }, "p-limit": { @@ -9416,6 +9133,14 @@ "dev": true, "requires": { "p-finally": "^1.0.0" + }, + "dependencies": { + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + } } }, "p-try": { @@ -9434,14 +9159,6 @@ "registry-auth-token": "^4.0.0", "registry-url": "^5.0.0", "semver": "^6.2.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } } }, "parent-module": { @@ -9451,6 +9168,14 @@ "dev": true, "requires": { "callsites": "^3.0.0" + }, + "dependencies": { + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + } } }, "parse-json": { @@ -9492,9 +9217,9 @@ "dev": true }, "path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true }, "path-parse": { @@ -9510,6 +9235,14 @@ "dev": true, "requires": { "pify": "^3.0.0" + }, + "dependencies": { + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } } }, "picomatch": { @@ -9519,15 +9252,15 @@ "dev": true }, "pidtree": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.0.tgz", - "integrity": "sha512-9CT4NFlDcosssyg8KVFltgokyKZIFjoBxw8CTGy+5F38Y1eQWrt8tRayiUOXE+zVKQnYu5BR8JjCtvK3BcnBhg==", + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", + "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", "dev": true }, "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", "dev": true }, "pinkie": { @@ -9615,15 +9348,6 @@ } } }, - "pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", - "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", - "dev": true, - "requires": { - "find-up": "^2.1.0" - } - }, "prepend-http": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz", @@ -9631,15 +9355,9 @@ "dev": true }, "prettier": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", - "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", - "dev": true - }, - "private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.0.tgz", + "integrity": "sha512-yYerpkvseM4iKD/BXLYUkQV5aKt4tQPqaGW6EsZjzyu0r7sVZZNPJW4Y8MyKmicp6t42XUPcBVA+H6sB3gqndw==", "dev": true }, "process-nextick-args": { @@ -9692,14 +9410,6 @@ "ini": "~1.3.0", "minimist": "^1.2.0", "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - } } }, "read-pkg": { @@ -9744,9 +9454,9 @@ } }, "p-limit": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz", - "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, "requires": { "p-try": "^2.0.0" @@ -9768,14 +9478,14 @@ "dev": true }, "parse-json": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", - "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", + "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1", + "json-parse-even-better-errors": "^2.3.0", "lines-and-columns": "^1.1.6" } }, @@ -9857,9 +9567,9 @@ } }, "regenerate": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", - "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", "dev": true }, "regenerate-unicode-properties": { @@ -9872,25 +9582,24 @@ } }, "regenerator-runtime": { - "version": "0.13.5", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", - "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==", + "version": "0.13.7", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", + "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==", "dev": true }, "regenerator-transform": { - "version": "0.14.4", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.4.tgz", - "integrity": "sha512-EaJaKPBI9GvKpvUz2mz4fhx7WPgvwRLY9v3hlNHWmAuJHI13T4nwKnNvm5RWJzEdnI5g5UwtOww+S8IdoUC2bw==", + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", + "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", "dev": true, "requires": { - "@babel/runtime": "^7.8.4", - "private": "^0.1.8" + "@babel/runtime": "^7.8.4" } }, "regexpu-core": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.0.tgz", - "integrity": "sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==", + "version": "4.7.1", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz", + "integrity": "sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ==", "dev": true, "requires": { "regenerate": "^1.4.0", @@ -9902,9 +9611,9 @@ } }, "registry-auth-token": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.1.1.tgz", - "integrity": "sha512-9bKS7nTl9+/A1s7tnPeGrUpRcVY+LUh7bfFgzpndALdPfXQBfQV77rQVtqgUV3ti4vc/Ik81Ex8UJDWDQ12zQA==", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-4.2.1.tgz", + "integrity": "sha512-6gkSb4U6aWJB4SF2ZvLb76yCBjcvufXBqvvEx1HbmKPkutswjW1xNVRY0+daljIYRbogN7O0etYSlbiaEQyMyw==", "dev": true, "requires": { "rc": "^1.2.8" @@ -9920,9 +9629,9 @@ } }, "regjsgen": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz", - "integrity": "sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", + "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", "dev": true }, "regjsparser": { @@ -9955,11 +9664,12 @@ "dev": true }, "resolve": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz", - "integrity": "sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", "dev": true, "requires": { + "is-core-module": "^2.1.0", "path-parse": "^1.0.6" } }, @@ -10052,9 +9762,9 @@ "dev": true }, "rxjs": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz", - "integrity": "sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ==", + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz", + "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==", "dev": true, "requires": { "tslib": "^1.9.0" @@ -10114,15 +9824,17 @@ "yargs": "^15.0.1" }, "dependencies": { - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "cosmiconfig": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-6.0.0.tgz", + "integrity": "sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg==", "dev": true, "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.7.2" } }, "execa": { @@ -10131,48 +9843,33 @@ "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", "dev": true, "requires": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - } - }, - "get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "requires": { - "pump": "^3.0.0" - } - }, - "hosted-git-info": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.7.tgz", - "integrity": "sha512-fWqc0IcuXs+BmE9orLDyVykAG9GJtGLGuZAAqgcckPgv5xad4AcXGIv8galtQvlwutxSlaMcdw7BUtq2EIvqCQ==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" } }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "import-fresh": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.2.tgz", + "integrity": "sha512-cTPNrlvJT6twpYy+YmKUKrTSjWFs3bjYjAhCwm+z4EOCubZxAuO+hHpRN64TqjEaYSHs7tJAE0w1CKMGmsG/lw==", "dev": true, "requires": { - "yallist": "^4.0.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + } } }, "npm-run-path": { @@ -10184,10 +9881,22 @@ "path-key": "^3.0.0" } }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "parse-json": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz", + "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + } + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", "dev": true }, "semver": { @@ -10196,35 +9905,22 @@ "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", "dev": true }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "semver-diff": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", + "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", "dev": true, "requires": { - "isexe": "^2.0.0" + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } } - }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true } } }, @@ -10239,24 +9935,24 @@ } }, "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", "dev": true }, "semver-diff": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-3.1.1.tgz", - "integrity": "sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", + "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", "dev": true, "requires": { - "semver": "^6.3.0" + "semver": "^5.0.3" }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true } } @@ -10274,18 +9970,18 @@ "dev": true }, "shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { - "shebang-regex": "^1.0.0" + "shebang-regex": "^3.0.0" } }, "shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true }, "shell-quote": { @@ -10306,9 +10002,9 @@ } }, "signal-exit": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", "dev": true }, "signale": { @@ -10363,9 +10059,9 @@ } }, "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", "dev": true }, "spawn-error-forwarder": { @@ -10375,9 +10071,9 @@ "dev": true }, "spdx-correct": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -10385,15 +10081,15 @@ } }, "spdx-exceptions": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", - "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", "dev": true }, "spdx-expression-parse": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", "dev": true, "requires": { "spdx-exceptions": "^2.1.0", @@ -10401,9 +10097,9 @@ } }, "spdx-license-ids": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", - "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz", + "integrity": "sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==", "dev": true }, "split": { @@ -10493,36 +10189,48 @@ "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.0" + }, + "dependencies": { + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } } }, "string.prototype.padend": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.0.tgz", - "integrity": "sha512-3aIv8Ffdp8EZj8iLwREGpQaUZiPyrWrpzMBHvkiSW/bK/EGve9np07Vwy7IJ5waydpGXzQZu/F8Oze2/IWkBaA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.1.tgz", + "integrity": "sha512-eCzTASPnoCr5Ht+Vn1YXgm8SB015hHKgEIMu9Nr9bQmLhRBxKRfmzSj/IQsxDFc8JInJDDFA0qXwK+xxI7wDkg==", "dev": true, "requires": { + "call-bind": "^1.0.0", "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" + "es-abstract": "^1.18.0-next.1" } }, - "string.prototype.trimleft": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", - "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", + "string.prototype.trimend": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", + "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", "dev": true, "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" } }, - "string.prototype.trimright": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", - "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", + "string.prototype.trimstart": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", + "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", "dev": true, "requires": { - "define-properties": "^1.1.3", - "function-bind": "^1.1.1" + "call-bind": "^1.0.0", + "define-properties": "^1.1.3" } }, "string_decoder": { @@ -10535,18 +10243,26 @@ } }, "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", "dev": true, "requires": { - "ansi-regex": "^5.0.0" + "ansi-regex": "^4.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + } } }, "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true }, "strip-eof": { @@ -10599,9 +10315,9 @@ "dev": true }, "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -10634,6 +10350,18 @@ "unique-string": "^2.0.0" }, "dependencies": { + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "crypto-random-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz", + "integrity": "sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==", + "dev": true + }, "del": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/del/-/del-6.0.0.tgz", @@ -10650,11 +10378,19 @@ "slash": "^3.0.0" } }, - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", - "dev": true + "globby": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.1.tgz", + "integrity": "sha512-iH9RmgwCmUJHi2z5o2l3eTtGBtXek1OYlHrbcxOYugyHLmAsZrPj43OtHThd62Buh/Vv6VyCBD2bdyWcGNQqoQ==", + "dev": true, + "requires": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + } }, "is-path-inside": { "version": "3.0.2", @@ -10662,12 +10398,6 @@ "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==", "dev": true }, - "is-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", - "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", - "dev": true - }, "p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", @@ -10691,6 +10421,15 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.16.0.tgz", "integrity": "sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==", "dev": true + }, + "unique-string": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", + "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "dev": true, + "requires": { + "crypto-random-string": "^2.0.0" + } } } }, @@ -10735,6 +10474,12 @@ "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", "dev": true }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, "lru-cache": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", @@ -10745,6 +10490,51 @@ "yallist": "^2.1.2" } }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, "yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", @@ -10826,9 +10616,9 @@ } }, "tlds": { - "version": "1.207.0", - "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.207.0.tgz", - "integrity": "sha512-k7d7Q1LqjtAvhtEOs3yN14EabsNO8ZCoY6RESSJDB9lst3bTx3as/m1UuAeCKzYxiyhR1qq72ZPhpSf+qlqiwg==", + "version": "1.214.0", + "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.214.0.tgz", + "integrity": "sha512-+i48KYsrCkkIZnsj31cTIj9cu5NtFxKo7xlNIB7jg8kXi//b4Ertl5qaHgqFF+y+g0nFwt/k+eph2uUNQJgfwg==", "dev": true }, "tmp": { @@ -10880,9 +10670,9 @@ "dev": true }, "tslib": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", - "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "dev": true }, "type": { @@ -10892,9 +10682,9 @@ "dev": true }, "type-fest": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", - "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", "dev": true }, "typedoc": { @@ -10916,12 +10706,6 @@ "typedoc-default-themes": "^0.11.4" }, "dependencies": { - "lodash": { - "version": "4.17.20", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", - "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", - "dev": true - }, "semver": { "version": "7.3.2", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", @@ -10937,21 +10721,17 @@ "dev": true }, "typescript": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz", - "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.2.tgz", + "integrity": "sha512-thGloWsGH3SOxv1SoY7QojKi0tc+8FnOmiarEGMbd/lar7QOEd3hvlx3Fp5y6FlDUGl9L+pd4n2e+oToGMmhRQ==", "dev": true }, "uglify-js": { - "version": "3.8.1", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.8.1.tgz", - "integrity": "sha512-W7KxyzeaQmZvUFbGj4+YFshhVrMBGSg2IbcYAjGWGvx8DHvJMclbTDMpffdxFUGPBHjIytk7KJUR/KUXstUGDw==", + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.0.tgz", + "integrity": "sha512-8lBMSkFZuAK7gGF8LswsXmir8eX8d2AAMOnxSDWjKBx/fBR6MypQjs78m6ML9zQVp1/hD4TBdfeMZMC7nW1TAA==", "dev": true, - "optional": true, - "requires": { - "commander": "~2.20.3", - "source-map": "~0.6.1" - } + "optional": true }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", @@ -10982,22 +10762,19 @@ "dev": true }, "unique-string": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-2.0.0.tgz", - "integrity": "sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", + "integrity": "sha1-nhBXzKhRq7kzmPizOuGHuZyuwRo=", "dev": true, "requires": { - "crypto-random-string": "^2.0.0" + "crypto-random-string": "^1.0.0" } }, "universal-user-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", - "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", - "dev": true, - "requires": { - "os-name": "^3.1.0" - } + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", + "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", + "dev": true }, "universalify": { "version": "1.0.0", @@ -11052,15 +10829,6 @@ "requires": { "path-is-inside": "^1.0.1" } - }, - "semver-diff": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz", - "integrity": "sha1-S7uEN8jTfksM8aaP1ybsbWRdbTY=", - "dev": true, - "requires": { - "semver": "^5.0.3" - } } } }, @@ -11115,9 +10883,9 @@ } }, "which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -11171,15 +10939,6 @@ } } }, - "windows-release": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/windows-release/-/windows-release-3.2.0.tgz", - "integrity": "sha512-QTlz2hKLrdqukrsapKsINzqMgOUpQW268eJ0OaOpJN32h272waxR9fkB9VoWRtK7uKHG5EHJcTXQBD8XZVJkFA==", - "dev": true, - "requires": { - "execa": "^1.0.0" - } - }, "wordwrap": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", @@ -11187,39 +10946,45 @@ "dev": true }, "wrap-ansi": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", - "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz", + "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=", "dev": true, "requires": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0" }, "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", "dev": true, "requires": { - "color-convert": "^2.0.1" + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" } }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", "dev": true, "requires": { - "color-name": "~1.1.4" + "ansi-regex": "^3.0.0" } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true } } }, @@ -11259,9 +11024,9 @@ "dev": true }, "yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "dev": true }, "yaml": { @@ -11289,12 +11054,6 @@ "yargs-parser": "^18.1.2" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -11357,12 +11116,13 @@ } }, "yargs-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", - "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", "dev": true, "requires": { - "camelcase": "^4.1.0" + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" } } } diff --git a/package.json b/package.json index 09c7a4dc5..6993e663d 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ }, "description": "Shared TypeScript definitions for Octokit projects", "dependencies": { + "@octokit/openapi-types": "^1.2.0", "@types/node": ">= 8" }, "scripts": { @@ -17,7 +18,8 @@ "test": "npx tsc --noEmit --declaration --noUnusedLocals src/index.ts test.ts", "update-endpoints": "npm-run-all update-endpoints:*", "update-endpoints:fetch-json": "node scripts/update-endpoints/fetch-json", - "update-endpoints:typescript": "node scripts/update-endpoints/typescript" + "update-endpoints:typescript": "node scripts/update-endpoints/typescript", + "update-endpoints:package": "node scripts/update-endpoints/package" }, "repository": "https://github.com/octokit/types.ts", "keywords": [ @@ -39,6 +41,7 @@ "json-schema-to-typescript": "^10.0.0", "lodash.set": "^4.3.2", "npm-run-all": "^4.1.5", + "openapi-typescript": "^2.3.1", "pascal-case": "^3.1.1", "prettier": "^2.0.0", "semantic-release": "^17.0.0", @@ -83,5 +86,8 @@ } ] ] + }, + "octokit": { + "openapi-version": "1.0.1" } } diff --git a/scripts/update-endpoints/fetch-json.js b/scripts/update-endpoints/fetch-json.js index e10d6eebf..9315ce66a 100644 --- a/scripts/update-endpoints/fetch-json.js +++ b/scripts/update-endpoints/fetch-json.js @@ -13,36 +13,18 @@ const version = process.env.VERSION.replace(/^v/, ""); const QUERY = ` query ($version: String!, $ignoreChangesBefore: String!) { endpoints(version: $version, ignoreChangesBefore: $ignoreChangesBefore) { - name - scope(format: CAMELCASE) - id(format: CAMELCASE) method url documentationUrl parameters { alias - allowNull deprecated - description - enum in name - type - required } previews(required: true) { name } - headers { - name - value - required - } - responses { - code - description - schema - } renamed { note } @@ -53,7 +35,8 @@ main(); async function main() { const { endpoints } = await graphql(QUERY, { - url: "https://github-openapi-graphql-server.vercel.app/api/graphql", + // url: "https://github-openapi-graphql-server.vercel.app/api/graphql", + url: "http://localhost:3000/api/graphql", version, ignoreChangesBefore: "2020-06-10", }); diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index b66a78975..9c0ec7403 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -1,39965 +1,11438 @@ [ { - "name": "Add repository access to a self-hosted runner group in an organization", - "scope": "actions", - "id": "addRepoAccessToSelfHostedRunnerGroupInOrg", "method": "PUT", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true + "name": "runner_group_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repository_id", - "type": "integer", - "required": true + "name": "repository_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Add selected repository to an organization secret", - "scope": "actions", - "id": "addSelectedRepoToOrgSecret", "method": "PUT", "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#add-selected-repository-to-an-organization-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true + "name": "secret_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repository_id", - "type": "integer", - "required": true + "name": "repository_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Add a self-hosted runner to a group for an organization", - "scope": "actions", - "id": "addSelfHostedRunnerToGroupForOrg", "method": "PUT", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#add-a-self-hosted-runner-to-a-group-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Cancel a workflow run", - "scope": "actions", - "id": "cancelWorkflowRun", "method": "POST", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#cancel-a-workflow-run", + "documentationUrl": "https://docs.github.com/rest/reference/actions#cancel-a-workflow-run", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Create or update an organization secret", - "scope": "actions", - "id": "createOrUpdateOrgSecret", "method": "PUT", "url": "/orgs/{org}/actions/secrets/{secret_name}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key) endpoint.", - "enum": null, - "in": "BODY", - "name": "encrypted_value", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "ID of the key you used to encrypt the secret.", - "enum": null, - "in": "BODY", - "name": "key_id", - "type": "string", - "required": false + "name": "secret_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Configures the access that repositories have to the organization secret. Can be one of:\n\\- `all` - All repositories in an organization can access the secret.\n\\- `private` - Private repositories in an organization can access the secret.\n\\- `selected` - Only specific repositories can access the secret.", - "enum": ["all", "private", "selected"], "in": "BODY", - "name": "visibility", - "type": "string", - "required": false + "name": "encrypted_value" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "key_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints.", - "enum": null, "in": "BODY", - "name": "selected_repository_ids", - "type": "integer[]", - "required": false + "name": "selected_repository_ids" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Create or update a repository secret", - "scope": "actions", - "id": "createOrUpdateRepoSecret", "method": "PUT", "url": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#create-or-update-a-repository-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true + "name": "secret_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key) endpoint.", - "enum": null, "in": "BODY", - "name": "encrypted_value", - "type": "string", - "required": false + "name": "encrypted_value" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "ID of the key you used to encrypt the secret.", - "enum": null, - "in": "BODY", - "name": "key_id", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "key_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Create a registration token for an organization", - "scope": "actions", - "id": "createRegistrationTokenForOrg", "method": "POST", "url": "/orgs/{org}/actions/runners/registration-token", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a registration token for a repository", - "scope": "actions", - "id": "createRegistrationTokenForRepo", "method": "POST", "url": "/repos/{owner}/{repo}/actions/runners/registration-token", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a remove token for an organization", - "scope": "actions", - "id": "createRemoveTokenForOrg", "method": "POST", "url": "/orgs/{org}/actions/runners/remove-token", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a remove token for a repository", - "scope": "actions", - "id": "createRemoveTokenForRepo", "method": "POST", "url": "/repos/{owner}/{repo}/actions/runners/remove-token", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a self-hosted runner group for an organization", - "scope": "actions", - "id": "createSelfHostedRunnerGroupForOrg", "method": "POST", "url": "/orgs/{org}/actions/runner-groups", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#create-a-self-hosted-runner-group-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Name of the runner group.", - "enum": null, "in": "BODY", - "name": "name", - "type": "string", - "required": true + "name": "selected_repository_ids" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. Can be one of: `all`, `selected`, or `private`.", - "enum": ["selected", "all", "private"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of repository IDs that can access the runner group.", - "enum": null, - "in": "BODY", - "name": "selected_repository_ids", - "type": "integer[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of runner IDs to add to the runner group.", - "enum": null, - "in": "BODY", - "name": "runners", - "type": "integer[]", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_repositories_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"},\"inherited\":{\"type\":\"boolean\"}}}" - } - ], "renamed": null }, { - "name": "Create a workflow dispatch event", - "scope": "actions", - "id": "createWorkflowDispatch", "method": "POST", "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", - "documentationUrl": "https://developer.github.com/v3/actions/workflows/#create-a-workflow-dispatch-event", + "documentationUrl": "https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "workflow_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The reference of the workflow run. The reference can be a branch, tag, or a commit SHA.", - "enum": null, - "in": "BODY", - "name": "ref", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Input keys and values configured in the workflow file. The maximum number of properties is 10.", - "enum": null, - "in": "BODY", - "name": "inputs", - "type": "object", - "required": false + "name": "workflow_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "inputs.*", - "type": "object", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "inputs" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "inputs.*" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete an artifact", - "scope": "actions", - "id": "deleteArtifact", "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "documentationUrl": "https://developer.github.com/v3/actions/artifacts/#delete-an-artifact", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-an-artifact", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "artifact_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "artifact_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete an organization secret", - "scope": "actions", - "id": "deleteOrgSecret", "method": "DELETE", "url": "/orgs/{org}/actions/secrets/{secret_name}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#delete-an-organization-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-an-organization-secret", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "secret_name" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a repository secret", - "scope": "actions", - "id": "deleteRepoSecret", "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#delete-a-repository-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-repository-secret", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "secret_name" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a self-hosted runner from an organization", - "scope": "actions", - "id": "deleteSelfHostedRunnerFromOrg", "method": "DELETE", "url": "/orgs/{org}/actions/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a self-hosted runner from a repository", - "scope": "actions", - "id": "deleteSelfHostedRunnerFromRepo", "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a self-hosted runner group from an organization", - "scope": "actions", - "id": "deleteSelfHostedRunnerGroupFromOrg", "method": "DELETE", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#delete-a-self-hosted-runner-group-from-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "name": "runner_group_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a workflow run", - "scope": "actions", - "id": "deleteWorkflowRun", "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#delete-a-workflow-run", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-a-workflow-run", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete workflow run logs", - "scope": "actions", - "id": "deleteWorkflowRunLogs", "method": "DELETE", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#delete-workflow-run-logs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#delete-workflow-run-logs", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Download an artifact", - "scope": "actions", - "id": "downloadArtifact", - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", - "documentationUrl": "https://developer.github.com/v3/actions/artifacts/#download-an-artifact", + "method": "DELETE", + "url": "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "artifact_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "archive_format", - "type": "string", - "required": true + "name": "repository_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Download job logs for a workflow run", - "scope": "actions", - "id": "downloadJobLogsForWorkflowRun", + "method": "PUT", + "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", + "documentationUrl": "https://docs.github.com/rest/reference/actions#disable-a-workflow", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "workflow_id" } + ], + "previews": [], + "renamed": null + }, + { "method": "GET", - "url": "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-jobs/#download-job-logs-for-a-workflow-run", + "url": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#download-an-artifact", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "artifact_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "job_id", - "type": "integer", - "required": true + "name": "archive_format" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Download workflow run logs", - "scope": "actions", - "id": "downloadWorkflowRunLogs", + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "job_id" } + ], + "previews": [], + "renamed": null + }, + { "method": "GET", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#download-workflow-run-logs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#download-workflow-run-logs", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true + "name": "repository_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get an artifact", - "scope": "actions", - "id": "getArtifact", + "method": "PUT", + "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", + "documentationUrl": "https://docs.github.com/rest/reference/actions#enable-a-workflow", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "workflow_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { "method": "GET", "url": "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", - "documentationUrl": "https://developer.github.com/v3/actions/artifacts/#get-an-artifact", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-an-artifact", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "artifact_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "artifact_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"size_in_bytes\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"archive_download_url\":{\"type\":\"string\"},\"expired\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], + "previews": [], "renamed": null }, { - "name": "Get a job for a workflow run", - "scope": "actions", - "id": "getJobForWorkflowRun", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/jobs/{job_id}", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-jobs/#get-a-job-for-a-workflow-run", + "url": "/repos/{owner}/{repo}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "job_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 202, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"run_id\":{\"type\":\"number\"},\"run_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"steps\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"type\":\"string\"}},\"required\":[\"name\",\"status\",\"conclusion\",\"number\",\"started_at\",\"completed_at\"]}},\"check_run_url\":{\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/jobs/{job_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "job_id" } ], + "previews": [], "renamed": null }, { - "name": "Get an organization public key", - "scope": "actions", - "id": "getOrgPublicKey", "method": "GET", "url": "/orgs/{org}/actions/secrets/public-key", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-an-organization-public-key", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key_id\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get an organization secret", - "scope": "actions", - "id": "getOrgSecret", "method": "GET", "url": "/orgs/{org}/actions/secrets/{secret_name}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#get-an-organization-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-an-organization-secret", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "secret_name" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"selected_repositories_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a repository public key", - "scope": "actions", - "id": "getRepoPublicKey", "method": "GET", "url": "/repos/{owner}/{repo}/actions/secrets/public-key", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-repository-public-key", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key_id\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a repository secret", - "scope": "actions", - "id": "getRepoSecret", "method": "GET", "url": "/repos/{owner}/{repo}/actions/secrets/{secret_name}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#get-a-repository-secret", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-repository-secret", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "secret_name" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a self-hosted runner for an organization", - "scope": "actions", - "id": "getSelfHostedRunnerForOrg", "method": "GET", "url": "/orgs/{org}/actions/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}" - } - ], "renamed": null }, { - "name": "Get a self-hosted runner for a repository", - "scope": "actions", - "id": "getSelfHostedRunnerForRepo", "method": "GET", "url": "/repos/{owner}/{repo}/actions/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}" - } - ], "renamed": null }, { - "name": "Get a self-hosted runner group for an organization", - "scope": "actions", - "id": "getSelfHostedRunnerGroupForOrg", "method": "GET", "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#get-a-self-hosted-runner-group-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "name": "runner_group_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_repositories_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"},\"inherited\":{\"type\":\"boolean\"}}}" - } - ], "renamed": null }, { - "name": "Get a workflow", - "scope": "actions", - "id": "getWorkflow", "method": "GET", "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}", - "documentationUrl": "https://developer.github.com/v3/actions/workflows/#get-a-workflow", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-workflow", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "workflow_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "workflow_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"badge_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a workflow run", - "scope": "actions", - "id": "getWorkflowRun", "method": "GET", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#get-a-workflow-run", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-a-workflow-run", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"head_branch\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"run_number\":{\"type\":\"number\"},\"event\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"workflow_id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"array\",\"items\":{}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"jobs_url\":{\"type\":\"string\"},\"logs_url\":{\"type\":\"string\"},\"check_suite_url\":{\"type\":\"string\"},\"artifacts_url\":{\"type\":\"string\"},\"cancel_url\":{\"type\":\"string\"},\"rerun_url\":{\"type\":\"string\"},\"workflow_url\":{\"type\":\"string\"},\"head_commit\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"tree_id\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"timestamp\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"head_repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Get workflow run usage", - "scope": "actions", - "id": "getWorkflowRunUsage", "method": "GET", "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/timing", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#get-workflow-run-usage", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-workflow-run-usage", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-workflow-usage", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "workflow_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": { + "note": "\"actions/getRepoPermissions\" operation ID is now \"actions/getGithubActionsPermissionsRepository\"" + } + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/artifacts", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/secrets", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-organization-secrets", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true + "name": "runner_group_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"billable\":{\"type\":\"object\",\"properties\":{\"UBUNTU\":{\"type\":\"object\",\"properties\":{\"total_ms\":{\"type\":\"number\"},\"jobs\":{\"type\":\"number\"}}},\"MACOS\":{\"type\":\"object\",\"properties\":{\"total_ms\":{\"type\":\"number\"},\"jobs\":{\"type\":\"number\"}}},\"WINDOWS\":{\"type\":\"object\",\"properties\":{\"total_ms\":{\"type\":\"number\"},\"jobs\":{\"type\":\"number\"}}}}},\"run_duration_ms\":{\"type\":\"number\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/secrets", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-repository-secrets", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Get workflow usage", - "scope": "actions", - "id": "getWorkflowUsage", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", - "documentationUrl": "https://developer.github.com/v3/actions/workflows/#get-workflow-usage", + "url": "/repos/{owner}/{repo}/actions/workflows", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-repository-workflows", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/runners/downloads", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/runners/downloads", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "secret_name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/permissions/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/runner-groups", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "workflow_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"billable\":{\"type\":\"object\",\"properties\":{\"UBUNTU\":{\"type\":\"object\",\"properties\":{\"total_ms\":{\"type\":\"number\"}}},\"MACOS\":{\"type\":\"object\",\"properties\":{\"total_ms\":{\"type\":\"number\"}}},\"WINDOWS\":{\"type\":\"object\",\"properties\":{\"total_ms\":{\"type\":\"number\"}}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List artifacts for a repository", - "scope": "actions", - "id": "listArtifactsForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/artifacts", - "documentationUrl": "https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository", + "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-workflow-runs", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "workflow_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "actor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "event" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "status" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/actions/runs", + "documentationUrl": "https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "actor" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "event" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "status" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", + "documentationUrl": "https://docs.github.com/rest/reference/actions#re-run-a-workflow", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "run_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "runner_group_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "repository_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"artifacts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"size_in_bytes\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"archive_download_url\":{\"type\":\"string\"},\"expired\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"type\":\"string\"}},\"required\":[\"id\",\"node_id\",\"name\",\"size_in_bytes\",\"url\",\"archive_download_url\",\"expired\",\"created_at\",\"expires_at\"]}}}}" - } - ], "renamed": null }, { - "name": "List jobs for a workflow run", - "scope": "actions", - "id": "listJobsForWorkflowRun", - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-jobs/#list-jobs-for-a-workflow-run", + "method": "DELETE", + "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "secret_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, + "name": "repository_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true + "name": "runner_group_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Filters jobs by their `completed_at` timestamp. Can be one of: \n\\* `latest`: Returns jobs from the most recent execution of the workflow run. \n\\* `all`: Returns all jobs for a workflow run, including from old executions of the workflow run.", - "enum": ["latest", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false + "in": "BODY", + "name": "github_owned_allowed" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "verified_allowed" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "patterns_allowed" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"jobs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"run_id\":{\"type\":\"number\"},\"run_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"steps\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"type\":\"string\"}},\"required\":[\"name\",\"status\",\"conclusion\",\"number\",\"started_at\",\"completed_at\"]}},\"check_run_url\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "List organization secrets", - "scope": "actions", - "id": "listOrgSecrets", - "method": "GET", - "url": "/orgs/{org}/actions/secrets", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#list-organization-secrets", + "method": "PUT", + "url": "/repos/{owner}/{repo}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "github_owned_allowed" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "verified_allowed" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "patterns_allowed" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"secrets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"selected_repositories_url\":{\"type\":\"string\"}},\"required\":[\"name\",\"created_at\",\"updated_at\",\"visibility\"]}}}}" - } - ], "renamed": null }, { - "name": "List repository access to a self-hosted runner group in an organization", - "scope": "actions", - "id": "listRepoAccessToSelfHostedRunnerGroupInOrg", - "method": "GET", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "method": "PUT", + "url": "/orgs/{org}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "enabled_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "allowed_actions" } ], "previews": [], - "headers": [], - "responses": [ + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "enabled" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "allowed_actions" } ], + "previews": [], "renamed": null }, { - "name": "List repository secrets", - "scope": "actions", - "id": "listRepoSecrets", - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/secrets", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#list-repository-secrets", + "method": "PUT", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "runner_group_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, + "in": "BODY", + "name": "selected_repository_ids" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { + "alias": null, + "deprecated": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "secret_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "selected_repository_ids" } ], "previews": [], - "headers": [], - "responses": [ + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/actions/permissions/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"secrets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}},\"required\":[\"name\",\"created_at\",\"updated_at\"]}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "selected_repository_ids" } ], + "previews": [], "renamed": null }, { - "name": "List repository workflows", - "scope": "actions", - "id": "listRepoWorkflows", - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/workflows", - "documentationUrl": "https://developer.github.com/v3/actions/workflows/#list-repository-workflows", + "method": "PUT", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", + "documentationUrl": "https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "runner_group_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"workflows\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"badge_url\":{\"type\":\"string\"}},\"required\":[\"id\",\"node_id\",\"name\",\"path\",\"state\",\"created_at\",\"updated_at\",\"url\",\"html_url\",\"badge_url\"]}}}}" - } - ], "renamed": null }, { - "name": "List runner applications for an organization", - "scope": "actions", - "id": "listRunnerApplicationsForOrg", "method": "GET", - "url": "/orgs/{org}/actions/runners/downloads", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-an-organization", + "url": "/user/starred/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"os\":{\"type\":\"string\"},\"architecture\":{\"type\":\"string\"},\"download_url\":{\"type\":\"string\"},\"filename\":{\"type\":\"string\"}}}}" - } + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#delete-a-repository-subscription", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/notifications/threads/{thread_id}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#delete-a-thread-subscription", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "thread_id" } ], + "previews": [], "renamed": null }, { - "name": "List runner applications for a repository", - "scope": "actions", - "id": "listRunnerApplicationsForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/runners/downloads", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-a-repository", + "url": "/feeds", + "documentationUrl": "https://docs.github.com/rest/reference/activity#get-feeds", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#get-a-repository-subscription", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"os\":{\"type\":\"string\"},\"architecture\":{\"type\":\"string\"},\"download_url\":{\"type\":\"string\"},\"filename\":{\"type\":\"string\"}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/notifications/threads/{thread_id}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#get-a-thread", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "thread_id" } ], + "previews": [], "renamed": null }, { - "name": "List selected repositories for an organization secret", - "scope": "actions", - "id": "listSelectedReposForOrgSecret", "method": "GET", - "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret", + "url": "/notifications/threads/{thread_id}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "thread_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/events", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List self-hosted runner groups for an organization", - "scope": "actions", - "id": "listSelfHostedRunnerGroupsForOrg", "method": "GET", - "url": "/orgs/{org}/actions/runner-groups", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-self-hosted-runner-groups-for-an-organization", + "url": "/notifications", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "all" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "participating" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runner_groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_repositories_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"},\"inherited\":{\"type\":\"boolean\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/events/orgs/{org}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List self-hosted runners for an organization", - "scope": "actions", - "id": "listSelfHostedRunnersForOrg", "method": "GET", - "url": "/orgs/{org}/actions/runners", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization", + "url": "/events", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-public-events", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runners\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/networks/{owner}/{repo}/events", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List self-hosted runners for a repository", - "scope": "actions", - "id": "listSelfHostedRunnersForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/runners", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-a-repository", + "url": "/users/{username}/events/public", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-public-events-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runners\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/events", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-public-organization-events", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/received_events", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List self-hosted runners in a group for an organization", - "scope": "actions", - "id": "listSelfHostedRunnersInGroupForOrg", "method": "GET", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-self-hosted-runners-in-a-group-for-an-organization", + "url": "/users/{username}/received_events/public", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runners\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/events", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-repository-events", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List workflow run artifacts", - "scope": "actions", - "id": "listWorkflowRunArtifacts", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "documentationUrl": "https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts", + "url": "/repos/{owner}/{repo}/notifications", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "all" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "participating" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"artifacts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"size_in_bytes\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"archive_download_url\":{\"type\":\"string\"},\"expired\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"type\":\"string\"}},\"required\":[\"id\",\"node_id\",\"name\",\"size_in_bytes\",\"url\",\"archive_download_url\",\"expired\",\"created_at\",\"expires_at\"]}}}}" - } - ], "renamed": null }, { - "name": "List workflow runs", - "scope": "actions", - "id": "listWorkflowRuns", "method": "GET", - "url": "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs", + "url": "/user/starred", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/starred", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/subscriptions", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/stargazers", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-stargazers", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/subscriptions", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/subscribers", + "documentationUrl": "https://docs.github.com/rest/reference/activity#list-watchers", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/notifications", + "documentationUrl": "https://docs.github.com/rest/reference/activity#mark-notifications-as-read", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "last_read_at" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "read" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/notifications", + "documentationUrl": "https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, + "in": "BODY", + "name": "last_read_at" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/notifications/threads/{thread_id}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#mark-a-thread-as-read", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "thread_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#set-a-repository-subscription", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "subscribed" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "ignored" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/notifications/threads/{thread_id}/subscription", + "documentationUrl": "https://docs.github.com/rest/reference/activity#set-a-thread-subscription", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "thread_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "ignored" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/user/starred/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/user/starred/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/user/installations/{installation_id}/repositories/{repository_id}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "workflow_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run.", - "enum": null, - "in": "QUERY", - "name": "actor", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns workflow runs associated with a branch. Use the name of the branch of the `push`.", - "enum": null, - "in": "QUERY", - "name": "branch", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", - "enum": null, - "in": "QUERY", - "name": "event", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in \"[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run).\"", - "enum": ["completed", "status", "conclusion"], - "in": "QUERY", - "name": "status", - "type": "string", - "required": false + "name": "installation_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, + "in": "PATH", + "name": "repository_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/applications/{client_id}/tokens/{access_token}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#check-an-authorization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "access_token" } ], "previews": [], - "headers": [], - "responses": [ + "renamed": null + }, + { + "method": "POST", + "url": "/applications/{client_id}/token", + "documentationUrl": "https://docs.github.com/rest/reference/apps#check-a-token", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"workflow_runs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"head_branch\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"run_number\":{\"type\":\"number\"},\"event\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"workflow_id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"array\",\"items\":{}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"jobs_url\":{\"type\":\"string\"},\"logs_url\":{\"type\":\"string\"},\"check_suite_url\":{\"type\":\"string\"},\"artifacts_url\":{\"type\":\"string\"},\"cancel_url\":{\"type\":\"string\"},\"rerun_url\":{\"type\":\"string\"},\"workflow_url\":{\"type\":\"string\"},\"head_commit\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"tree_id\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"timestamp\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"head_repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"}}}}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "access_token" } ], + "previews": [], "renamed": null }, { - "name": "List workflow runs for a repository", - "scope": "actions", - "id": "listWorkflowRunsForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/actions/runs", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository", + "method": "POST", + "url": "/content_references/{content_reference_id}/attachments", + "documentationUrl": "https://docs.github.com/rest/reference/apps#create-a-content-attachment", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "content_reference_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [{ "name": "corsair" }], + "renamed": null + }, + { + "method": "POST", + "url": "/app-manifests/{code}/conversions", + "documentationUrl": "https://docs.github.com/v3/apps/#create-a-github-app-from-a-manifest", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "code" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/app/installations/{installation_id}/access_tokens", + "documentationUrl": "https://docs.github.com/v3/apps/#create-an-installation-access-token-for-an-app", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "installation_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run.", - "enum": null, - "in": "QUERY", - "name": "actor", - "type": "string", - "required": false + "in": "BODY", + "name": "repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Returns workflow runs associated with a branch. Use the name of the branch of the `push`.", - "enum": null, - "in": "QUERY", - "name": "branch", - "type": "string", - "required": false + "in": "BODY", + "name": "repository_ids" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see \"[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows).\"", - "enum": null, - "in": "QUERY", - "name": "event", - "type": "string", - "required": false + "in": "BODY", + "name": "permissions" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in \"[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run).\"", - "enum": ["completed", "status", "conclusion"], - "in": "QUERY", - "name": "status", - "type": "string", - "required": false + "in": "BODY", + "name": "permissions.contents" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "permissions.issues" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"workflow_runs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"head_branch\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"run_number\":{\"type\":\"number\"},\"event\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"workflow_id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"array\",\"items\":{}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"jobs_url\":{\"type\":\"string\"},\"logs_url\":{\"type\":\"string\"},\"check_suite_url\":{\"type\":\"string\"},\"artifacts_url\":{\"type\":\"string\"},\"cancel_url\":{\"type\":\"string\"},\"rerun_url\":{\"type\":\"string\"},\"workflow_url\":{\"type\":\"string\"},\"head_commit\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"tree_id\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"timestamp\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"head_repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Re-run a workflow", - "scope": "actions", - "id": "reRunWorkflow", - "method": "POST", - "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", - "documentationUrl": "https://developer.github.com/v3/actions/workflow-runs/#re-run-a-workflow", - "parameters": [ - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "permissions.deployments" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "permissions.single_file" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "run_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "permissions.def_not_a_repo" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove repository access to a self-hosted runner group in an organization", - "scope": "actions", - "id": "removeRepoAccessToSelfHostedRunnerGroupInOrg", "method": "DELETE", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization", + "url": "/applications/{client_id}/grant", + "documentationUrl": "https://docs.github.com/rest/reference/apps#delete-an-app-authorization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repository_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "access_token" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove selected repository from an organization secret", - "scope": "actions", - "id": "removeSelectedRepoFromOrgSecret", "method": "DELETE", - "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret", + "url": "/app/installations/{installation_id}", + "documentationUrl": "https://docs.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repository_id", - "type": "integer", - "required": true + "name": "installation_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove a self-hosted runner from a group for an organization", - "scope": "actions", - "id": "removeSelfHostedRunnerFromGroupForOrg", "method": "DELETE", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#remove-a-self-hosted-runner-from-a-group-for-an-organization", + "url": "/applications/{client_id}/token", + "documentationUrl": "https://docs.github.com/rest/reference/apps#delete-an-app-token", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "access_token" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Set repository access for a self-hosted runner group in an organization", - "scope": "actions", - "id": "setRepoAccessToSelfHostedRunnerGroupInOrg", - "method": "PUT", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#set-repository-access-to-a-self-hosted-runner-group-in-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of repository IDs that can access the runner group.", - "enum": null, - "in": "BODY", - "name": "selected_repository_ids", - "type": "integer[]", - "required": true - } + "method": "GET", + "url": "/app", + "documentationUrl": "https://docs.github.com/v3/apps/#get-the-authenticated-app", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/apps/{app_slug}", + "documentationUrl": "https://docs.github.com/v3/apps/#get-an-app", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "app_slug" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Set selected repositories for an organization secret", - "scope": "actions", - "id": "setSelectedReposForOrgSecret", - "method": "PUT", - "url": "/orgs/{org}/actions/secrets/{secret_name}/repositories", - "documentationUrl": "https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret", + "method": "GET", + "url": "/app/installations/{installation_id}", + "documentationUrl": "https://docs.github.com/v3/apps/#get-an-installation-for-the-authenticated-app", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "secret_name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints.", - "enum": null, - "in": "BODY", - "name": "selected_repository_ids", - "type": "integer[]", - "required": false + "name": "installation_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Set self-hosted runners in a group for an organization", - "scope": "actions", - "id": "setSelfHostedRunnersInGroupForOrg", - "method": "PUT", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", - "documentationUrl": "https://developer.github.com/v3/actions/sef-hosted-runner-groups/#set-self-hosted-runners-in-a-group-for-an-organization", + "method": "GET", + "url": "/orgs/{org}/installation", + "documentationUrl": "https://docs.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of runner IDs to add to the runner group.", - "enum": null, - "in": "BODY", - "name": "runners", - "type": "integer[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Update a self-hosted runner group for an organization", - "scope": "actions", - "id": "updateSelfHostedRunnerGroupForOrg", - "method": "PATCH", - "url": "/orgs/{org}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://developer.github.com/v3/actions/self-hosted-runner-groups/#update-a-self-hosted-runner-group-for-an-organization", + "method": "GET", + "url": "/repos/{owner}/{repo}/installation", + "documentationUrl": "https://docs.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Name of the runner group.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. Can be one of: `all`, `selected`, or `private`.", - "enum": ["selected", "all", "private"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_repositories_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"},\"inherited\":{\"type\":\"boolean\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/marketplace_listing/accounts/{account_id}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "account_id" } ], + "previews": [], "renamed": null }, { - "name": "Check if a repository is starred by the authenticated user", - "scope": "activity", - "id": "checkRepoIsStarredByAuthenticatedUser", "method": "GET", - "url": "/user/starred/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/activity/starring/#check-if-a-repository-is-starred-by-the-authenticated-user", + "url": "/marketplace_listing/stubbed/accounts/{account_id}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "account_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/installation", + "documentationUrl": "https://docs.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/app/hook/config", + "documentationUrl": "https://docs.github.com/v3/apps#get-a-webhook-configuration-for-an-app", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/marketplace_listing/plans/{plan_id}/accounts", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "plan_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/marketplace_listing/stubbed/plans/{plan_id}/accounts", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "plan_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/installations/{installation_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "installation_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/app/installations", + "documentationUrl": "https://docs.github.com/v3/apps/#list-installations-for-the-authenticated-app", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "outdated" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/installations", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/marketplace_listing/plans", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-plans", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/marketplace_listing/stubbed/plans", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-plans-stubbed", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/installation/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/marketplace_purchases", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/marketplace_purchases/stubbed", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a repository subscription", - "scope": "activity", - "id": "deleteRepoSubscription", "method": "DELETE", - "url": "/repos/{owner}/{repo}/subscription", - "documentationUrl": "https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription", + "url": "/user/installations/{installation_id}/repositories/{repository_id}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "installation_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "repository_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a thread subscription", - "scope": "activity", - "id": "deleteThreadSubscription", - "method": "DELETE", - "url": "/notifications/threads/{thread_id}/subscription", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription", + "method": "POST", + "url": "/applications/{client_id}/tokens/{access_token}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#reset-an-authorization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "thread_id", - "type": "integer", - "required": true + "name": "access_token" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get feeds", - "scope": "activity", - "id": "getFeeds", - "method": "GET", - "url": "/feeds", - "documentationUrl": "https://developer.github.com/v3/activity/feeds/#get-feeds", - "parameters": [], - "previews": [], - "headers": [], - "responses": [ + "method": "PATCH", + "url": "/applications/{client_id}/token", + "documentationUrl": "https://docs.github.com/rest/reference/apps#reset-a-token", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"timeline_url\":{\"type\":\"string\"},\"user_url\":{\"type\":\"string\"},\"current_user_public_url\":{\"type\":\"string\"},\"current_user_url\":{\"type\":\"string\"},\"current_user_actor_url\":{\"type\":\"string\"},\"current_user_organization_url\":{\"type\":\"string\"},\"current_user_organization_urls\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"security_advisories_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"timeline\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"user\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"current_user_public\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"current_user\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"current_user_actor\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"current_user_organization\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"current_user_organizations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}},\"security_advisories\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "access_token" } ], + "previews": [], "renamed": null }, { - "name": "Get a repository subscription", - "scope": "activity", - "id": "getRepoSubscription", - "method": "GET", - "url": "/repos/{owner}/{repo}/subscription", - "documentationUrl": "https://developer.github.com/v3/activity/watching/#get-a-repository-subscription", + "method": "DELETE", + "url": "/applications/{client_id}/tokens/{access_token}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "access_token" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if you subscribe to the repository", - "schema": "{\"type\":\"object\",\"properties\":{\"subscribed\":{\"type\":\"boolean\"},\"ignored\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a thread", - "scope": "activity", - "id": "getThread", - "method": "GET", - "url": "/notifications/threads/{thread_id}", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#get-a-thread", + "method": "DELETE", + "url": "/applications/{client_id}/grants/{access_token}", + "documentationUrl": "https://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "thread_id", - "type": "integer", - "required": true + "name": "access_token" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"subject\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"latest_comment_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"unread\":{\"type\":\"boolean\"},\"updated_at\":{\"type\":\"string\"},\"last_read_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a thread subscription for the authenticated user", - "scope": "activity", - "id": "getThreadSubscriptionForAuthenticatedUser", - "method": "GET", - "url": "/notifications/threads/{thread_id}/subscription", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#get-a-thread-subscription-for-the-authenticated-user", + "method": "DELETE", + "url": "/installation/token", + "documentationUrl": "https://docs.github.com/rest/reference/apps#revoke-an-installation-access-token", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/app/installations/{installation_id}/suspended", + "documentationUrl": "https://docs.github.com/v3/apps/#suspend-an-app-installation", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "thread_id", - "type": "integer", - "required": true + "name": "installation_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"subscribed\":{\"type\":\"boolean\"},\"ignored\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"thread_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "List events for the authenticated user", - "scope": "activity", - "id": "listEventsForAuthenticatedUser", - "method": "GET", - "url": "/users/{username}/events", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-events-for-the-authenticated-user", + "method": "DELETE", + "url": "/app/installations/{installation_id}/suspended", + "documentationUrl": "https://docs.github.com/v3/apps/#unsuspend-an-app-installation", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, + "name": "installation_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/app/hook/config", + "documentationUrl": "https://docs.github.com/v3/apps#update-a-webhook-configuration-for-an-app", + "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "content_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "secret" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "insecure_ssl" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "List notifications for the authenticated user", - "scope": "activity", - "id": "listNotificationsForAuthenticatedUser", "method": "GET", - "url": "/notifications", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user", + "url": "/enterprises/{enterprise}/settings/billing/actions", + "documentationUrl": "https://docs.github.com/v3/billing/#get-github-actions-billing-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/settings/billing/actions", + "documentationUrl": "https://docs.github.com/v3/billing/#get-github-actions-billing-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/settings/billing/actions", + "documentationUrl": "https://docs.github.com/v3/billing/#get-github-actions-billing-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/settings/billing/packages", + "documentationUrl": "https://docs.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/settings/billing/packages", + "documentationUrl": "https://docs.github.com/v3/billing/#get-github-packages-billing-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/settings/billing/packages", + "documentationUrl": "https://docs.github.com/v3/billing/#get-github-packages-billing-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/settings/billing/shared-storage", + "documentationUrl": "https://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/settings/billing/shared-storage", + "documentationUrl": "https://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/settings/billing/shared-storage", + "documentationUrl": "https://docs.github.com/v3/billing/#get-shared-storage-billing-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/check-runs", + "documentationUrl": "https://docs.github.com/rest/reference/checks#create-a-check-run", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "head_sha" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "If `true`, show notifications marked as read.", - "enum": null, - "in": "QUERY", - "name": "all", - "type": "boolean", - "required": false + "in": "BODY", + "name": "details_url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "If `true`, only shows notifications in which the user is directly participating or mentioned.", - "enum": null, - "in": "QUERY", - "name": "participating", - "type": "boolean", - "required": false + "in": "BODY", + "name": "external_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "status" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "started_at" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "conclusion" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false + "in": "BODY", + "name": "completed_at" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "output" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "before", - "type": "string", - "required": false + "in": "BODY", + "name": "output.title" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.summary" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "output.text" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"subject\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"latest_comment_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"unread\":{\"type\":\"boolean\"},\"updated_at\":{\"type\":\"string\"},\"last_read_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization events for the authenticated user", - "scope": "activity", - "id": "listOrgEventsForAuthenticatedUser", - "method": "GET", - "url": "/users/{username}/events/orgs/{org}", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-organization-events-for-the-authenticated-user", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "output.annotations" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true + "in": "BODY", + "name": "output.annotations[].path" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "output.annotations[].start_line" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.annotations[].end_line" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "List public events", - "scope": "activity", - "id": "listPublicEvents", - "method": "GET", - "url": "/events", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-public-events", - "parameters": [ + "in": "BODY", + "name": "output.annotations[].start_column" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.annotations[].end_column" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "List public events for a network of repositories", - "scope": "activity", - "id": "listPublicEventsForRepoNetwork", - "method": "GET", - "url": "/networks/{owner}/{repo}/events", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories", - "parameters": [ + "in": "BODY", + "name": "output.annotations[].annotation_level" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "output.annotations[].message" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "output.annotations[].title" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.annotations[].raw_details" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "List public events for a user", - "scope": "activity", - "id": "listPublicEventsForUser", - "method": "GET", - "url": "/users/{username}/events/public", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-public-events-for-a-user", - "parameters": [ + "in": "BODY", + "name": "output.images" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true + "in": "BODY", + "name": "output.images[].alt" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.images[].image_url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.images[].caption" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "actions" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "actions[].label" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "actions[].description" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "actions[].identifier" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "List public organization events", - "scope": "activity", - "id": "listPublicOrgEvents", + "method": "POST", + "url": "/repos/{owner}/{repo}/check-suites", + "documentationUrl": "https://docs.github.com/rest/reference/checks#create-a-check-suite", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "head_sha" } + ], + "previews": [], + "renamed": null + }, + { "method": "GET", - "url": "/orgs/{org}/events", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-public-organization-events", + "url": "/repos/{owner}/{repo}/check-runs/{check_run_id}", + "documentationUrl": "https://docs.github.com/rest/reference/checks#get-a-check-run", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, + "name": "check_run_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", + "documentationUrl": "https://docs.github.com/rest/reference/checks#get-a-check-suite", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "check_suite_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "List events received by the authenticated user", - "scope": "activity", - "id": "listReceivedEventsForUser", "method": "GET", - "url": "/users/{username}/received_events", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-events-received-by-the-authenticated-user", + "url": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", + "documentationUrl": "https://docs.github.com/rest/reference/checks#list-check-run-annotations", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "username", - "type": "string", - "required": true + "name": "check_run_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/commits/{ref}/check-runs", + "documentationUrl": "https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "check_name" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "status" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "List public events received by a user", - "scope": "activity", - "id": "listReceivedPublicEventsForUser", "method": "GET", - "url": "/users/{username}/received_events/public", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-public-events-received-by-a-user", + "url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", + "documentationUrl": "https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "username", - "type": "string", - "required": true + "name": "check_suite_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "check_name" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "status" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/commits/{ref}/check-suites", + "documentationUrl": "https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "app_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + "name": "check_name" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "List repository events", - "scope": "activity", - "id": "listRepoEvents", - "method": "GET", - "url": "/repos/{owner}/{repo}/events", - "documentationUrl": "https://developer.github.com/v3/activity/events/#list-repository-events", + "method": "POST", + "url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", + "documentationUrl": "https://docs.github.com/rest/reference/checks#rerequest-a-check-suite", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, + "name": "check_suite_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/check-suites/preferences", + "documentationUrl": "https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "auto_trigger_checks" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "auto_trigger_checks[].app_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "auto_trigger_checks[].setting" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "List repository notifications for the authenticated user", - "scope": "activity", - "id": "listRepoNotificationsForAuthenticatedUser", - "method": "GET", - "url": "/repos/{owner}/{repo}/notifications", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user", + "method": "PATCH", + "url": "/repos/{owner}/{repo}/check-runs/{check_run_id}", + "documentationUrl": "https://docs.github.com/rest/reference/checks#update-a-check-run", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "check_run_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "details_url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "If `true`, show notifications marked as read.", - "enum": null, - "in": "QUERY", - "name": "all", - "type": "boolean", - "required": false + "in": "BODY", + "name": "external_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "started_at" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "status" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "conclusion" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "If `true`, only shows notifications in which the user is directly participating or mentioned.", - "enum": null, - "in": "QUERY", - "name": "participating", - "type": "boolean", - "required": false + "in": "BODY", + "name": "completed_at" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "output" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false + "in": "BODY", + "name": "output.title" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "before", - "type": "string", - "required": false + "in": "BODY", + "name": "output.summary" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.text" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"subject\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"latest_comment_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"unread\":{\"type\":\"boolean\"},\"updated_at\":{\"type\":\"string\"},\"last_read_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories starred by the authenticated user", - "scope": "activity", - "id": "listReposStarredByAuthenticatedUser", - "method": "GET", - "url": "/user/starred", - "documentationUrl": "https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user", - "parameters": [ + "in": "BODY", + "name": "output.annotations" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false + "in": "BODY", + "name": "output.annotations[].path" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "One of `asc` (ascending) or `desc` (descending).", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false + "in": "BODY", + "name": "output.annotations[].start_line" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.annotations[].end_line" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}" + "in": "BODY", + "name": "output.annotations[].start_column" }, - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"starred_at\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories starred by a user", - "scope": "activity", - "id": "listReposStarredByUser", - "method": "GET", - "url": "/users/{username}/starred", - "documentationUrl": "https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user", - "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true + "in": "BODY", + "name": "output.annotations[].end_column" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "One of `created` (when the repository was starred) or `updated` (when it was last pushed to).", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false + "in": "BODY", + "name": "output.annotations[].annotation_level" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "One of `asc` (ascending) or `desc` (descending).", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false + "in": "BODY", + "name": "output.annotations[].message" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.annotations[].title" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}" + "in": "BODY", + "name": "output.annotations[].raw_details" }, - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"starred_at\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories watched by a user", - "scope": "activity", - "id": "listReposWatchedByUser", - "method": "GET", - "url": "/users/{username}/subscriptions", - "documentationUrl": "https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user", - "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true + "in": "BODY", + "name": "output.images" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "output.images[].alt" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List stargazers", - "scope": "activity", - "id": "listStargazersForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/stargazers", - "documentationUrl": "https://developer.github.com/v3/activity/starring/#list-stargazers", - "parameters": [ + "in": "BODY", + "name": "output.images[].image_url" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "output.images[].caption" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "actions" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "actions[].label" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "actions[].description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "actions[].identifier" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - }, - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"starred_at\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}" - } - ], "renamed": null }, { - "name": "List repositories watched by the authenticated user", - "scope": "activity", - "id": "listWatchedReposForAuthenticatedUser", "method": "GET", - "url": "/user/subscriptions", - "documentationUrl": "https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user", + "url": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", + "documentationUrl": "https://docs.github.com/v3/code-scanning/#get-a-code-scanning-alert", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "alert_number" }, { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "alias": "alert_number", + "deprecated": true, + "in": "PATH", + "name": "alert_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "List watchers", - "scope": "activity", - "id": "listWatchersForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/subscribers", - "documentationUrl": "https://developer.github.com/v3/activity/watching/#list-watchers", + "url": "/repos/{owner}/{repo}/code-scanning/alerts", + "documentationUrl": "https://docs.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "Mark notifications as read", - "scope": "activity", - "id": "markNotificationsAsRead", - "method": "PUT", - "url": "/notifications", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read", + "method": "GET", + "url": "/repos/{owner}/{repo}/code-scanning/analyses", + "documentationUrl": "https://docs.github.com/v3/code-scanning/#list-recent-analyses", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.", - "enum": null, - "in": "BODY", - "name": "last_read_at", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "tool_name" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Mark repository notifications as read", - "scope": "activity", - "id": "markRepoNotificationsAsRead", - "method": "PUT", - "url": "/repos/{owner}/{repo}/notifications", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#mark-repository-notifications-as-read", + "method": "PATCH", + "url": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", + "documentationUrl": "https://docs.github.com/v3/code-scanning/#upload-a-code-scanning-alert", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "alert_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.", - "enum": null, "in": "BODY", - "name": "last_read_at", - "type": "string", - "required": false + "name": "dismissed_reason" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Mark a thread as read", - "scope": "activity", - "id": "markThreadAsRead", - "method": "PATCH", - "url": "/notifications/threads/{thread_id}", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read", + "method": "POST", + "url": "/repos/{owner}/{repo}/code-scanning/sarifs", + "documentationUrl": "https://docs.github.com/v3/code-scanning/#upload-a-sarif-analysis", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "commit_sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sarif" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "thread_id", - "type": "integer", - "required": true - } + "in": "BODY", + "name": "checkout_uri" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "started_at" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tool_name" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Set a repository subscription", - "scope": "activity", - "id": "setRepoSubscription", + "method": "GET", + "url": "/codes_of_conduct", + "documentationUrl": "https://docs.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct", + "parameters": [], + "previews": [{ "name": "scarlet-witch" }], + "renamed": null + }, + { + "method": "GET", + "url": "/codes_of_conduct/{key}", + "documentationUrl": "https://docs.github.com/v3/codes_of_conduct/#get-a-code-of-conduct", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "key" } + ], + "previews": [{ "name": "scarlet-witch" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/community/code_of_conduct", + "documentationUrl": "https://docs.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [{ "name": "scarlet-witch" }], + "renamed": null + }, + { + "method": "GET", + "url": "/emojis", + "documentationUrl": "https://docs.github.com/v3/emojis/#get-emojis", + "parameters": [], + "previews": [], + "renamed": null + }, + { "method": "PUT", - "url": "/repos/{owner}/{repo}/subscription", - "documentationUrl": "https://developer.github.com/v3/activity/watching/#set-a-repository-subscription", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines if notifications should be received from this repository.", - "enum": null, - "in": "BODY", - "name": "subscribed", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines if all notifications should be blocked from this repository.", - "enum": null, - "in": "BODY", - "name": "ignored", - "type": "boolean", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"subscribed\":{\"type\":\"boolean\"},\"ignored\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Set a thread subscription", - "scope": "activity", - "id": "setThreadSubscription", "method": "PUT", - "url": "/notifications/threads/{thread_id}/subscription", - "documentationUrl": "https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "thread_id", - "type": "integer", - "required": true + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unsubscribes and subscribes you to a conversation. Set `ignored` to `true` to block all notifications from this thread.", - "enum": null, - "in": "BODY", - "name": "ignored", - "type": "boolean", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"subscribed\":{\"type\":\"boolean\"},\"ignored\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"thread_url\":{\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "POST", + "url": "/enterprises/{enterprise}/actions/runners/registration-token", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } ], + "previews": [], "renamed": null }, { - "name": "Star a repository for the authenticated user", - "scope": "activity", - "id": "starRepoForAuthenticatedUser", - "method": "PUT", - "url": "/user/starred/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/activity/starring/#star-a-repository-for-the-authenticated-user", + "method": "POST", + "url": "/enterprises/{enterprise}/actions/runners/remove-token", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/enterprises/{enterprise}/actions/runner-groups", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "selected_organization_ids" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Unstar a repository for the authenticated user", - "scope": "activity", - "id": "unstarRepoForAuthenticatedUser", "method": "DELETE", - "url": "/user/starred/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/activity/starring/#unstar-a-repository-for-the-authenticated-user", + "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "scim_group_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Add a repository to an app installation", - "scope": "apps", - "id": "addRepoToInstallation", - "method": "PUT", - "url": "/user/installations/{installation_id}/repositories/{repository_id}", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#add-a-repository-to-an-app-installation", + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repository_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Check an authorization", - "scope": "apps", - "id": "checkAuthorization", - "method": "GET", - "url": "/applications/{client_id}/tokens/{access_token}", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization", + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "access_token", - "type": "string", - "required": true + "name": "runner_group_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"type\":\"string\"},\"note_url\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], "renamed": null }, { - "name": "Check a token", - "scope": "apps", - "id": "checkToken", - "method": "POST", - "url": "/applications/{client_id}/token", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#check-a-token", + "method": "DELETE", + "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The OAuth access token used to authenticate to the GitHub API.", - "enum": null, - "in": "BODY", - "name": "access_token", - "type": "string", - "required": false + "name": "scim_user_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"type\":\"string\"},\"note_url\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], "renamed": null }, { - "name": "Create a content attachment", - "scope": "apps", - "id": "createContentAttachment", - "method": "POST", - "url": "/content_references/{content_reference_id}/attachments", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#create-a-content-attachment", + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "content_reference_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the content attachment displayed in the body or comment of an issue or pull request.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The body text of the content attachment displayed in the body or comment of an issue or pull request. This parameter supports markdown.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "corsair" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.corsair-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "org_id" } ], + "previews": [], "renamed": null }, { - "name": "Create a GitHub App from a manifest", - "scope": "apps", - "id": "createFromManifest", - "method": "POST", - "url": "/app-manifests/{code}/conversions", - "documentationUrl": "https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest", + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "code", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "org_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"},\"client_secret\":{\"type\":\"string\"},\"webhook_secret\":{\"type\":\"string\"},\"pem\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create an installation access token for an app", - "scope": "apps", - "id": "createInstallationAccessToken", - "method": "POST", - "url": "/app/installations/{installation_id}/access_tokens", - "documentationUrl": "https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app", + "method": "GET", + "url": "/enterprises/{enterprise}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The `id`s of the repositories that the installation token can access. Providing repository `id`s restricts the access of an installation token to specific repositories. You can use the \"[List repositories accessible to the app installation](https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation)\" endpoint to get the `id` of all repositories that an installation can access. For example, you can select specific repositories when creating an installation token to restrict the number of repositories that can be cloned using the token.", - "enum": null, - "in": "BODY", - "name": "repository_ids", - "type": "integer[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permissions granted to the access token. The permissions object includes the permission names and their access type. For a complete list of permissions and allowable values, see \"[GitHub App permissions](https://developer.github.com/apps/building-github-apps/creating-github-apps-using-url-parameters/#github-app-permissions).\"", - "enum": null, - "in": "BODY", - "name": "permissions", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "permissions.*", - "type": "object", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"issues\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], "renamed": null }, { - "name": "Delete an app authorization", - "scope": "apps", - "id": "deleteAuthorization", - "method": "DELETE", - "url": "/applications/{client_id}/grant", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization", + "method": "GET", + "url": "/enterprises/{enterprise}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The OAuth access token used to authenticate to the GitHub API.", - "enum": null, - "in": "BODY", - "name": "access_token", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete an installation for the authenticated app", - "scope": "apps", - "id": "deleteInstallation", - "method": "DELETE", - "url": "/app/installations/{installation_id}", - "documentationUrl": "https://developer.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app", + "method": "GET", + "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise group", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true + "name": "scim_group_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete an app token", - "scope": "apps", - "id": "deleteToken", - "method": "DELETE", - "url": "/applications/{client_id}/token", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token", + "method": "GET", + "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The OAuth access token used to authenticate to the GitHub API.", - "enum": null, - "in": "BODY", - "name": "access_token", - "type": "string", - "required": false + "name": "scim_user_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get the authenticated app", - "scope": "apps", - "id": "getAuthenticated", "method": "GET", - "url": "/app", - "documentationUrl": "https://developer.github.com/v3/apps/#get-the-authenticated-app", - "parameters": [], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"installations_count\":{\"type\":\"number\"}}}" - } + "url": "/enterprises/{enterprise}/actions/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], + "previews": [], "renamed": null }, { - "name": "Get an app", - "scope": "apps", - "id": "getBySlug", "method": "GET", - "url": "/apps/{app_slug}", - "documentationUrl": "https://developer.github.com/v3/apps/#get-an-app", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "app_slug", - "type": "string", - "required": true + "name": "runner_group_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "Get an installation for the authenticated app", - "scope": "apps", - "id": "getInstallation", "method": "GET", - "url": "/app/installations/{installation_id}", - "documentationUrl": "https://developer.github.com/v3/apps/#get-an-installation-for-the-authenticated-app", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true - } + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"checks\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"single_file_name\":{\"type\":\"string\"},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]}}}" - } - ], "renamed": null }, { - "name": "Get an organization installation for the authenticated app", - "scope": "apps", - "id": "getOrgInstallation", "method": "GET", - "url": "/orgs/{org}/installation", - "documentationUrl": "https://developer.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app", + "url": "/scim/v2/enterprises/{enterprise}/Groups", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim groups-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + "in": "QUERY", + "name": "startIndex" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "count" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"checks\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"single_file_name\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a repository installation for the authenticated app", - "scope": "apps", - "id": "getRepoInstallation", "method": "GET", - "url": "/repos/{owner}/{repo}/installation", - "documentationUrl": "https://developer.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app", + "url": "/scim/v2/enterprises/{enterprise}/Users", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "QUERY", + "name": "startIndex" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "count" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"checks\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"single_file_name\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a subscription plan for an account", - "scope": "apps", - "id": "getSubscriptionPlanForAccount", "method": "GET", - "url": "/marketplace_listing/accounts/{account_id}", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account", + "url": "/enterprises/{enterprise}/actions/runners/downloads", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "account_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"nullable\":true,\"type\":\"string\"},\"organization_billing_email\":{\"type\":\"string\"},\"marketplace_pending_change\":{\"type\":\"object\",\"properties\":{\"effective_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"id\":{\"type\":\"number\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"marketplace_purchase\":{\"type\":\"object\",\"properties\":{\"billing_cycle\":{\"type\":\"string\"},\"next_billing_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"on_free_trial\":{\"type\":\"boolean\"},\"free_trial_ends_on\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}}" - } - ], "renamed": null }, { - "name": "Get a subscription plan for an account (stubbed)", - "scope": "apps", - "id": "getSubscriptionPlanForAccountStubbed", "method": "GET", - "url": "/marketplace_listing/stubbed/accounts/{account_id}", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed", + "url": "/enterprises/{enterprise}/actions/permissions/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "account_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"nullable\":true,\"type\":\"string\"},\"organization_billing_email\":{\"type\":\"string\"},\"marketplace_pending_change\":{\"type\":\"object\",\"properties\":{\"effective_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"id\":{\"type\":\"number\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"marketplace_purchase\":{\"type\":\"object\",\"properties\":{\"billing_cycle\":{\"type\":\"string\"},\"next_billing_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"on_free_trial\":{\"type\":\"boolean\"},\"free_trial_ends_on\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}}" - } - ], "renamed": null }, { - "name": "Get a user installation for the authenticated app", - "scope": "apps", - "id": "getUserInstallation", "method": "GET", - "url": "/users/{username}/installation", - "documentationUrl": "https://developer.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app", + "url": "/enterprises/{enterprise}/actions/runner-groups", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"checks\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"single_file_name\":{\"nullable\":true,\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/enterprises/{enterprise}/actions/runners", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List accounts for a plan", - "scope": "apps", - "id": "listAccountsForPlan", "method": "GET", - "url": "/marketplace_listing/plans/{plan_id}/accounts", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "plan_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`.", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false + "name": "runner_group_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/scim/v2/enterprises/{enterprise}/Groups", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "displayName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "members" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "members[].value" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"nullable\":true,\"type\":\"string\"},\"organization_billing_email\":{\"type\":\"string\"},\"marketplace_pending_change\":{\"type\":\"object\",\"properties\":{\"effective_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"id\":{\"type\":\"number\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"marketplace_purchase\":{\"type\":\"object\",\"properties\":{\"billing_cycle\":{\"type\":\"string\"},\"next_billing_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"on_free_trial\":{\"type\":\"boolean\"},\"free_trial_ends_on\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}}}" - } - ], "renamed": null }, { - "name": "List accounts for a plan (stubbed)", - "scope": "apps", - "id": "listAccountsForPlanStubbed", - "method": "GET", - "url": "/marketplace_listing/stubbed/plans/{plan_id}/accounts", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed", + "method": "POST", + "url": "/scim/v2/enterprises/{enterprise}/Users", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "userName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "plan_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "name.givenName" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`.", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false + "in": "BODY", + "name": "name.familyName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "emails" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false + "in": "BODY", + "name": "emails[].value" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "emails[].type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "emails[].primary" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "groups" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"nullable\":true,\"type\":\"string\"},\"organization_billing_email\":{\"type\":\"string\"},\"marketplace_pending_change\":{\"type\":\"object\",\"properties\":{\"effective_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"id\":{\"type\":\"number\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"state\":{\"type\":\"string\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"marketplace_purchase\":{\"type\":\"object\",\"properties\":{\"billing_cycle\":{\"type\":\"string\"},\"next_billing_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"on_free_trial\":{\"type\":\"boolean\"},\"free_trial_ends_on\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "groups[].value" } ], + "previews": [], "renamed": null }, { - "name": "List repositories accessible to the user access token", - "scope": "apps", - "id": "listInstallationReposForAuthenticatedUser", - "method": "GET", - "url": "/user/installations/{installation_id}/repositories", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token", + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "The access the user has to each repository is included in the hash under the `permissions` key.", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], "renamed": null }, { - "name": "List installations for the authenticated app", - "scope": "apps", - "id": "listInstallations", - "method": "GET", - "url": "/app/installations", - "documentationUrl": "https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app", + "method": "DELETE", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "runner_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "runner_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "The permissions the installation has are included under the `permissions` key.", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"checks\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"single_file_name\":{\"type\":\"string\"},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]}}}}" - } - ], "renamed": null }, { - "name": "List app installations accessible to the user access token", - "scope": "apps", - "id": "listInstallationsForAuthenticatedUser", - "method": "GET", - "url": "/user/installations", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token", + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions/selected-actions", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "github_owned_allowed" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "verified_allowed" + }, { - "code": 200, - "description": "You can find the permissions for the installation under the `permissions` key.", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"installations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"checks\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"single_file_name\":{\"nullable\":true,\"type\":\"string\"}},\"required\":[\"id\",\"account\",\"access_tokens_url\",\"repositories_url\",\"html_url\",\"app_id\",\"target_id\",\"target_type\",\"permissions\",\"events\",\"single_file_name\"]}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "patterns_allowed" } ], + "previews": [], "renamed": null }, { - "name": "List plans", - "scope": "apps", - "id": "listPlans", - "method": "GET", - "url": "/marketplace_listing/plans", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#list-plans", + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "enabled_organizations" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "allowed_actions" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "List plans (stubbed)", - "scope": "apps", - "id": "listPlansStubbed", - "method": "GET", - "url": "/marketplace_listing/stubbed/plans", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed", + "method": "PUT", + "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "scim_group_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "displayName" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "members" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "members[].value" } ], + "previews": [], "renamed": null }, { - "name": "List repositories accessible to the app installation", - "scope": "apps", - "id": "listReposAccessibleToInstallation", - "method": "GET", - "url": "/installation/repositories", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation", + "method": "PUT", + "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "scim_user_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "userName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List subscriptions for the authenticated user", - "scope": "apps", - "id": "listSubscriptionsForAuthenticatedUser", - "method": "GET", - "url": "/user/marketplace_purchases", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user", - "parameters": [ + "in": "BODY", + "name": "name.givenName" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "name.familyName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "emails" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "emails[].value" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"billing_cycle\":{\"type\":\"string\"},\"next_billing_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"on_free_trial\":{\"type\":\"boolean\"},\"free_trial_ends_on\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"email\":{\"nullable\":true,\"type\":\"string\"},\"organization_billing_email\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List subscriptions for the authenticated user (stubbed)", - "scope": "apps", - "id": "listSubscriptionsForAuthenticatedUserStubbed", - "method": "GET", - "url": "/user/marketplace_purchases/stubbed", - "documentationUrl": "https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "emails[].type" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "emails[].primary" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "groups" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "groups[].value" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"billing_cycle\":{\"type\":\"string\"},\"next_billing_date\":{\"type\":\"string\"},\"unit_count\":{\"type\":\"integer\",\"nullable\":true},\"on_free_trial\":{\"type\":\"boolean\"},\"free_trial_ends_on\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"email\":{\"nullable\":true,\"type\":\"string\"},\"organization_billing_email\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"plan\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"accounts_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"monthly_price_in_cents\":{\"type\":\"number\"},\"yearly_price_in_cents\":{\"type\":\"number\"},\"price_model\":{\"type\":\"string\"},\"has_free_trial\":{\"type\":\"boolean\"},\"unit_name\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"bullets\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}" - } - ], "renamed": null }, { - "name": "Remove a repository from an app installation", - "scope": "apps", - "id": "removeRepoFromInstallation", - "method": "DELETE", - "url": "/user/installations/{installation_id}/repositories/{repository_id}", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#remove-a-repository-from-an-app-installation", + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true + "name": "runner_group_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repository_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "selected_organization_ids" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Reset an authorization", - "scope": "apps", - "id": "resetAuthorization", - "method": "POST", - "url": "/applications/{client_id}/tokens/{access_token}", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization", + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/permissions/organizations", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, + "in": "BODY", + "name": "selected_organization_ids" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "access_token", - "type": "string", - "required": true - } + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "runners" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"type\":\"string\"},\"note_url\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], "renamed": null }, { - "name": "Reset a token", - "scope": "apps", - "id": "resetToken", "method": "PATCH", - "url": "/applications/{client_id}/token", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#reset-a-token", + "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "client_id", - "type": "string", - "required": true + "name": "scim_group_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The OAuth access token used to authenticate to the GitHub API.", - "enum": null, - "in": "BODY", - "name": "access_token", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "Operations" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"type\":\"string\"},\"note_url\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], "renamed": null }, { - "name": "Revoke an authorization for an application", - "scope": "apps", - "id": "revokeAuthorizationForApplication", - "method": "DELETE", - "url": "/applications/{client_id}/tokens/{access_token}", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application", + "method": "PATCH", + "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "client_id", - "type": "string", - "required": true + "name": "scim_user_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "Operations" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "documentationUrl": "https://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "enterprise" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "access_token", - "type": "string", - "required": true - } + "name": "runner_group_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Revoke a grant for an application", - "scope": "apps", - "id": "revokeGrantForApplication", - "method": "DELETE", - "url": "/applications/{client_id}/grants/{access_token}", - "documentationUrl": "https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application", + "method": "GET", + "url": "/gists/{gist_id}/star", + "documentationUrl": "https://docs.github.com/v3/gists/#check-if-a-gist-is-starred", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/gists", + "documentationUrl": "https://docs.github.com/v3/gists/#create-a-gist", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "client_id", - "type": "string", - "required": true + "in": "BODY", + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "files" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "files.*" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "access_token", - "type": "string", - "required": true - } + "in": "BODY", + "name": "files.*.content" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "public" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Revoke an installation access token", - "scope": "apps", - "id": "revokeInstallationAccessToken", - "method": "DELETE", - "url": "/installation/token", - "documentationUrl": "https://developer.github.com/v3/apps/installations/#revoke-an-installation-access-token", - "parameters": [], + "method": "POST", + "url": "/gists/{gist_id}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/gists#create-a-gist-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Suspend an app installation", - "scope": "apps", - "id": "suspendInstallation", - "method": "PUT", - "url": "/app/installations/{installation_id}/suspended", - "documentationUrl": "https://developer.github.com/v3/apps/#suspend-an-app-installation", + "method": "DELETE", + "url": "/gists/{gist_id}", + "documentationUrl": "https://docs.github.com/v3/gists/#delete-a-gist", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Unsuspend an app installation", - "scope": "apps", - "id": "unsuspendInstallation", "method": "DELETE", - "url": "/app/installations/{installation_id}/suspended", - "documentationUrl": "https://developer.github.com/v3/apps/#unsuspend-an-app-installation", + "url": "/gists/{gist_id}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/gists#delete-a-gist-comment", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "installation_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get GitHub Actions billing for an organization", - "scope": "billing", - "id": "getGithubActionsBillingOrg", - "method": "GET", - "url": "/orgs/{org}/settings/billing/actions", - "documentationUrl": "https://developer.github.com/v3/billing/#get-github-actions-billing-for-an-organization", + "method": "POST", + "url": "/gists/{gist_id}/forks", + "documentationUrl": "https://docs.github.com/v3/gists/#fork-a-gist", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_minutes_used\":{\"type\":\"number\",\"description\":\"The sum of the free and paid GitHub Actions minutes used.\"},\"total_paid_minutes_used\":{\"type\":\"number\",\"description\":\"The total paid GitHub Actions minutes used.\"},\"included_minutes\":{\"type\":\"number\",\"description\":\"The amount of free GitHub Actions minutes available.\"},\"minutes_used_breakdown\":{\"type\":\"object\",\"properties\":{\"UBUNTU\":{\"type\":\"number\",\"description\":\"Total minutes used on Ubuntu runner machines.\"},\"MACOS\":{\"type\":\"number\",\"description\":\"Total minutes used on macOS runner machines.\"},\"WINDOWS\":{\"type\":\"number\",\"description\":\"Total minutes used on Windows runner machines.\"}}}}}" - } - ], "renamed": null }, { - "name": "Get GitHub Actions billing for a user", - "scope": "billing", - "id": "getGithubActionsBillingUser", "method": "GET", - "url": "/users/{username}/settings/billing/actions", - "documentationUrl": "https://developer.github.com/v3/billing/#get-github-actions-billing-for-a-user", + "url": "/gists/{gist_id}", + "documentationUrl": "https://docs.github.com/v3/gists/#get-a-gist", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_minutes_used\":{\"type\":\"number\",\"description\":\"The sum of the free and paid GitHub Actions minutes used.\"},\"total_paid_minutes_used\":{\"type\":\"number\",\"description\":\"The total paid GitHub Actions minutes used.\"},\"included_minutes\":{\"type\":\"number\",\"description\":\"The amount of free GitHub Actions minutes available.\"},\"minutes_used_breakdown\":{\"type\":\"object\",\"properties\":{\"UBUNTU\":{\"type\":\"number\",\"description\":\"Total minutes used on Ubuntu runner machines.\"},\"MACOS\":{\"type\":\"number\",\"description\":\"Total minutes used on macOS runner machines.\"},\"WINDOWS\":{\"type\":\"number\",\"description\":\"Total minutes used on Windows runner machines.\"}}}}}" - } - ], "renamed": null }, { - "name": "Get GitHub Packages billing for an organization", - "scope": "billing", - "id": "getGithubPackagesBillingOrg", "method": "GET", - "url": "/orgs/{org}/settings/billing/packages", - "documentationUrl": "https://developer.github.com/v3/billing/#get-github-packages-billing-for-an-organization", + "url": "/gists/{gist_id}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/gists#get-a-gist-comment", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_gigabytes_bandwidth_used\":{\"type\":\"number\",\"description\":\"Sum of the free and paid storage space (GB) for GitHuub Packages.\"},\"total_paid_gigabytes_bandwidth_used\":{\"type\":\"number\",\"description\":\"Total paid storage space (GB) for GitHuub Packages.\"},\"included_gigabytes_bandwidth\":{\"type\":\"number\",\"description\":\"Free storage space (GB) for GitHub Packages.\"}}}" - } - ], "renamed": null }, { - "name": "Get GitHub Packages billing for a user", - "scope": "billing", - "id": "getGithubPackagesBillingUser", "method": "GET", - "url": "/users/{username}/settings/billing/packages", - "documentationUrl": "https://developer.github.com/v3/billing/#get-github-packages-billing-for-a-user", + "url": "/gists/{gist_id}/{sha}", + "documentationUrl": "https://docs.github.com/v3/gists/#get-a-gist-revision", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "sha" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_gigabytes_bandwidth_used\":{\"type\":\"number\",\"description\":\"Sum of the free and paid storage space (GB) for GitHuub Packages.\"},\"total_paid_gigabytes_bandwidth_used\":{\"type\":\"number\",\"description\":\"Total paid storage space (GB) for GitHuub Packages.\"},\"included_gigabytes_bandwidth\":{\"type\":\"number\",\"description\":\"Free storage space (GB) for GitHub Packages.\"}}}" - } - ], "renamed": null }, { - "name": "Get shared storage billing for an organization", - "scope": "billing", - "id": "getSharedStorageBillingOrg", "method": "GET", - "url": "/orgs/{org}/settings/billing/shared-storage", - "documentationUrl": "https://developer.github.com/v3/billing/#get-shared-storage-billing-for-an-organization", + "url": "/gists", + "documentationUrl": "https://docs.github.com/v3/gists/#list-gists-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"days_left_in_billing_cycle\":{\"type\":\"number\",\"description\":\"Numbers of days left in billing cycle.\"},\"estimated_paid_storage_for_month\":{\"type\":\"number\",\"description\":\"Estimated storage space (GB) used in billing cycle.\"},\"estimated_storage_for_month\":{\"type\":\"number\",\"description\":\"Estimated sum of free and paid storage space (GB) used in billing cycle.\"}}}" - } - ], "renamed": null }, { - "name": "Get shared storage billing for a user", - "scope": "billing", - "id": "getSharedStorageBillingUser", "method": "GET", - "url": "/users/{username}/settings/billing/shared-storage", - "documentationUrl": "https://developer.github.com/v3/billing/#get-shared-storage-billing-for-a-user", + "url": "/gists/{gist_id}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-gist-comments", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"days_left_in_billing_cycle\":{\"type\":\"number\",\"description\":\"Numbers of days left in billing cycle.\"},\"estimated_paid_storage_for_month\":{\"type\":\"number\",\"description\":\"Estimated storage space (GB) used in billing cycle.\"},\"estimated_storage_for_month\":{\"type\":\"number\",\"description\":\"Estimated sum of free and paid storage space (GB) used in billing cycle.\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/gists/{gist_id}/commits", + "documentationUrl": "https://docs.github.com/v3/gists/#list-gist-commits", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Create a check run", - "scope": "checks", - "id": "create", - "method": "POST", - "url": "/repos/{owner}/{repo}/check-runs", - "documentationUrl": "https://developer.github.com/v3/checks/runs/#create-a-check-run", + "method": "GET", + "url": "/users/{username}/gists", + "documentationUrl": "https://docs.github.com/v3/gists/#list-gists-for-a-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/gists/{gist_id}/forks", + "documentationUrl": "https://docs.github.com/v3/gists/#list-gist-forks", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/gists/public", + "documentationUrl": "https://docs.github.com/v3/gists/#list-public-gists", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/gists/starred", + "documentationUrl": "https://docs.github.com/v3/gists/#list-starred-gists", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/gists/{gist_id}/star", + "documentationUrl": "https://docs.github.com/v3/gists/#star-a-gist", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/gists/{gist_id}/star", + "documentationUrl": "https://docs.github.com/v3/gists/#unstar-a-gist", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/gists/{gist_id}", + "documentationUrl": "https://docs.github.com/v3/gists/#update-a-gist", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the check. For example, \"code-coverage\".", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SHA of the commit.", - "enum": null, - "in": "BODY", - "name": "head_sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used.", - "enum": null, - "in": "BODY", - "name": "details_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A reference for the run on the integrator's system.", - "enum": null, - "in": "BODY", - "name": "external_id", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The current status. Can be one of `queued`, `in_progress`, or `completed`.", - "enum": ["queued", "in_progress", "completed"], - "in": "BODY", - "name": "status", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "BODY", - "name": "started_at", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. When the conclusion is `action_required`, additional details should be provided on the site specified by `details_url`.\n**Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`.", - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required" - ], - "in": "BODY", - "name": "conclusion", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "BODY", - "name": "completed_at", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object) description.", - "enum": null, - "in": "BODY", - "name": "output", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the check run.", - "enum": null, - "in": "BODY", - "name": "output.title", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The summary of the check run. This parameter supports Markdown.", - "enum": null, - "in": "BODY", - "name": "output.summary", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The details of the check run. This parameter supports Markdown.", - "enum": null, - "in": "BODY", - "name": "output.text", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Adds information from your analysis to specific lines of code. Annotations are visible on GitHub in the **Checks** and **Files changed** tab of the pull request. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://developer.github.com/v3/checks/runs/#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about how you can view annotations on GitHub, see \"[About status checks](https://docs.github.com/articles/about-status-checks#checks)\". See the [`annotations` object](https://developer.github.com/v3/checks/runs/#annotations-object) description for details about how to use this parameter.", - "enum": null, - "in": "BODY", - "name": "output.annotations", - "type": "object[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The path of the file to add an annotation to. For example, `assets/css/main.css`.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "The start line of the annotation.", - "enum": null, "in": "BODY", - "name": "output.annotations[].start_line", - "type": "integer", - "required": true + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "files" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "files.*" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The end line of the annotation.", - "enum": null, "in": "BODY", - "name": "output.annotations[].end_line", - "type": "integer", - "required": true + "name": "files.*.content" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values.", - "enum": null, "in": "BODY", - "name": "output.annotations[].start_column", - "type": "integer", - "required": false - }, + "name": "files.*.filename" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/gists/{gist_id}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/gists#update-a-gist-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "gist_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/git/blobs", + "documentationUrl": "https://docs.github.com/rest/reference/git#create-a-blob", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "encoding" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/git/commits", + "documentationUrl": "https://docs.github.com/rest/reference/git#create-a-commit", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tree" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "parents" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "author" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values.", - "enum": null, "in": "BODY", - "name": "output.annotations[].end_column", - "type": "integer", - "required": false + "name": "author.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The level of the annotation. Can be one of `notice`, `warning`, or `failure`.", - "enum": ["notice", "warning", "failure"], "in": "BODY", - "name": "output.annotations[].annotation_level", - "type": "string", - "required": true + "name": "author.email" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A short description of the feedback for these lines of code. The maximum size is 64 KB.", - "enum": null, "in": "BODY", - "name": "output.annotations[].message", - "type": "string", - "required": true + "name": "author.date" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "committer" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The title that represents the annotation. The maximum size is 255 characters.", - "enum": null, "in": "BODY", - "name": "output.annotations[].title", - "type": "string", - "required": false + "name": "committer.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Details about this annotation. The maximum size is 64 KB.", - "enum": null, "in": "BODY", - "name": "output.annotations[].raw_details", - "type": "string", - "required": false + "name": "committer.email" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Adds images to the output displayed in the GitHub pull request UI. See the [`images` object](https://developer.github.com/v3/checks/runs/#images-object) description for details.", - "enum": null, "in": "BODY", - "name": "output.images", - "type": "object[]", - "required": false + "name": "committer.date" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "signature" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/git/refs", + "documentationUrl": "https://docs.github.com/rest/reference/git#create-a-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "key" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/git/tags", + "documentationUrl": "https://docs.github.com/rest/reference/git#create-a-tag-object", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tag" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "object" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tagger" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The alternative text for the image.", - "enum": null, "in": "BODY", - "name": "output.images[].alt", - "type": "string", - "required": true + "name": "tagger.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The full URL of the image.", - "enum": null, "in": "BODY", - "name": "output.images[].image_url", - "type": "string", - "required": true + "name": "tagger.email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tagger.date" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/git/trees", + "documentationUrl": "https://docs.github.com/rest/reference/git#create-a-tree", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tree" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A short image description.", - "enum": null, "in": "BODY", - "name": "output.images[].caption", - "type": "string", - "required": false + "name": "tree[].path" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://developer.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions).\" To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions).\"", - "enum": null, "in": "BODY", - "name": "actions", - "type": "object[]", - "required": false + "name": "tree[].mode" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The text to be displayed on a button in the web UI. The maximum size is 20 characters.", - "enum": null, "in": "BODY", - "name": "actions[].label", - "type": "string", - "required": true + "name": "tree[].type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tree[].sha" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A short explanation of what this action would do. The maximum size is 40 characters.", - "enum": null, "in": "BODY", - "name": "actions[].description", - "type": "string", - "required": true + "name": "tree[].content" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A reference for the action on the integrator's system. The maximum size is 20 characters.", - "enum": null, - "in": "BODY", - "name": "actions[].identifier", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "base_tree" } ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"head_sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"external_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"details_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"nullable\":true,\"type\":\"string\"},\"output\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"annotations_url\":{\"type\":\"string\"},\"annotations_count\":{\"type\":\"number\"},\"text\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"check_suite\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"}}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"pull_requests\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"head\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}}}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/git/refs/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/git#delete-a-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], + "previews": [], "renamed": null }, { - "name": "Create a check suite", - "scope": "checks", - "id": "createSuite", - "method": "POST", - "url": "/repos/{owner}/{repo}/check-suites", - "documentationUrl": "https://developer.github.com/v3/checks/suites/#create-a-check-suite", + "method": "GET", + "url": "/repos/{owner}/{repo}/git/blobs/{file_sha}", + "documentationUrl": "https://docs.github.com/rest/reference/git#get-a-blob", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The sha of the head commit.", - "enum": null, - "in": "BODY", - "name": "head_sha", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "file_sha" } ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/git/commits/{commit_sha}", + "documentationUrl": "https://docs.github.com/rest/reference/git#get-a-commit", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" } ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"head_branch\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"before\":{\"type\":\"string\"},\"after\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"array\",\"items\":{}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/git/ref/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/git#get-a-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], + "previews": [], "renamed": null }, { - "name": "Get a check run", - "scope": "checks", - "id": "get", "method": "GET", - "url": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "documentationUrl": "https://developer.github.com/v3/checks/runs/#get-a-check-run", + "url": "/repos/{owner}/{repo}/git/tags/{tag_sha}", + "documentationUrl": "https://docs.github.com/rest/reference/git#get-a-tag", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "check_run_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "tag_sha" } ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/git/trees/{tree_sha}", + "documentationUrl": "https://docs.github.com/rest/reference/git#get-a-tree", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "tree_sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "recursive" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"head_sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"external_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"details_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"nullable\":true,\"type\":\"string\"},\"output\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"text\":{\"type\":\"string\"},\"annotations_count\":{\"type\":\"number\"},\"annotations_url\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"check_suite\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"}}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"pull_requests\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"head\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}}}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/git/matching-refs/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/git#list-matching-references", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/git/refs/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/git#update-a-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "force" } + ], + "previews": [], "renamed": null }, { - "name": "Get a check suite", - "scope": "checks", - "id": "getSuite", "method": "GET", - "url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}", - "documentationUrl": "https://developer.github.com/v3/checks/suites/#get-a-check-suite", + "url": "/gitignore/templates", + "documentationUrl": "https://docs.github.com/v3/gitignore/#get-all-gitignore-templates", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/gitignore/templates/{name}", + "documentationUrl": "https://docs.github.com/v3/gitignore/#get-a-gitignore-template", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/user/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "limit" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "expiry" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "limit" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "expiry" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/user/interaction-limits", + "documentationUrl": "https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories", + "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "limit" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "expiry" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", + "documentationUrl": "https://docs.github.com/rest/reference/issues#add-assignees-to-an-issue", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "assignees" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#add-labels-to-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "issue_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "check_suite_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "labels" } ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/assignees/{assignee}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "assignee" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"head_branch\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"before\":{\"type\":\"string\"},\"after\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"array\",\"items\":{}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/issues", + "documentationUrl": "https://docs.github.com/v3/issues/#create-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "assignee" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "milestone" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "labels" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "assignees" } ], + "previews": [], "renamed": null }, { - "name": "List check run annotations", - "scope": "checks", - "id": "listAnnotations", - "method": "GET", - "url": "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "documentationUrl": "https://developer.github.com/v3/checks/runs/#list-check-run-annotations", + "method": "POST", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/issues#create-an-issue-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#create-a-label", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "color" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "description" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/milestones", + "documentationUrl": "https://docs.github.com/rest/reference/issues#create-a-milestone", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "due_on" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#delete-an-issue-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/labels/{name}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#delete-a-label", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/milestones/{milestone_number}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#delete-a-milestone", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "check_run_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, + "name": "milestone_number" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/{issue_number}", + "documentationUrl": "https://docs.github.com/v3/issues/#get-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "issue_number" } ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#get-an-issue-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"start_line\":{\"type\":\"number\"},\"end_line\":{\"type\":\"number\"},\"start_column\":{\"type\":\"number\"},\"end_column\":{\"type\":\"number\"},\"annotation_level\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"raw_details\":{\"type\":\"string\"}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/events/{event_id}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#get-an-issue-event", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "event_id" } ], + "previews": [], "renamed": null }, { - "name": "List check runs for a Git reference", - "scope": "checks", - "id": "listForRef", "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}/check-runs", - "documentationUrl": "https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference", + "url": "/repos/{owner}/{repo}/labels/{name}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#get-a-label", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/milestones/{milestone_number}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#get-a-milestone", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns check runs with the specified `name`.", - "enum": null, - "in": "QUERY", - "name": "check_name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`.", - "enum": ["queued", "in_progress", "completed"], - "in": "QUERY", - "name": "status", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`.", - "enum": ["latest", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "name": "milestone_number" } ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/issues", + "documentationUrl": "https://docs.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "labels" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "collab" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "orgs" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "owned" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "pulls" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"check_runs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"head_sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"external_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"details_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"nullable\":true,\"type\":\"string\"},\"output\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"text\":{\"type\":\"string\"},\"annotations_count\":{\"type\":\"number\"},\"annotations_url\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"check_suite\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"}}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"pull_requests\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"head\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}}}}}}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/assignees", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-assignees", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List check runs in a check suite", - "scope": "checks", - "id": "listForSuite", "method": "GET", - "url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "documentationUrl": "https://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-issue-comments", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/comments", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/events", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-issue-events", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/events", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "check_suite_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns check runs with the specified `name`.", - "enum": null, - "in": "QUERY", - "name": "check_name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`.", - "enum": ["queued", "in_progress", "completed"], - "in": "QUERY", - "name": "status", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`.", - "enum": ["latest", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false + "name": "issue_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } + "previews": [{ "name": "mockingbird" }], + "renamed": null + }, + { + "method": "GET", + "url": "/user/issues", + "documentationUrl": "https://docs.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "labels" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"check_runs\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"head_sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"external_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"details_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"nullable\":true,\"type\":\"string\"},\"output\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"text\":{\"type\":\"string\"},\"annotations_count\":{\"type\":\"number\"},\"annotations_url\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"check_suite\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"}}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"pull_requests\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"head\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}}}}}}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/issues", + "documentationUrl": "https://docs.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "labels" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "List check suites for a Git reference", - "scope": "checks", - "id": "listSuitesForRef", "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}/check-suites", - "documentationUrl": "https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference", + "url": "/repos/{owner}/{repo}/issues", + "documentationUrl": "https://docs.github.com/v3/issues/#list-repository-issues", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "milestone" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "assignee" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "creator" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "mentioned" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "labels" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "milestone_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-labels-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-labels-for-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/milestones", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-milestones", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/lock", + "documentationUrl": "https://docs.github.com/v3/issues/#lock-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "ref", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters check suites by GitHub App `id`.", - "enum": null, - "in": "QUERY", - "name": "app_id", - "type": "integer", - "required": false + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "lock_reason" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Filters checks suites by the name of the [check run](https://developer.github.com/v3/checks/runs/).", - "enum": null, - "in": "QUERY", - "name": "check_name", - "type": "string", - "required": false - }, + "in": "PATH", + "name": "issue_number" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", + "documentationUrl": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "issue_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"check_suites\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"head_branch\":{\"type\":\"string\"},\"head_sha\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"before\":{\"type\":\"string\"},\"after\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"array\",\"items\":{}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}}}" - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "assignees" } ], + "previews": [], "renamed": null }, { - "name": "Rerequest a check suite", - "scope": "checks", - "id": "rerequestSuite", - "method": "POST", - "url": "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", - "documentationUrl": "https://developer.github.com/v3/checks/suites/#rerequest-a-check-suite", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "documentationUrl": "https://docs.github.com/rest/reference/issues#set-labels-for-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "labels" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/lock", + "documentationUrl": "https://docs.github.com/v3/issues/#unlock-an-issue", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "check_suite_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true + "name": "issue_number" } ], - "responses": [], + "previews": [], "renamed": null }, { - "name": "Update repository preferences for check suites", - "scope": "checks", - "id": "setSuitesPreferences", "method": "PATCH", - "url": "/repos/{owner}/{repo}/check-suites/preferences", - "documentationUrl": "https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites", + "url": "/repos/{owner}/{repo}/issues/{issue_number}", + "documentationUrl": "https://docs.github.com/v3/issues/#update-an-issue", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "issue_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "assignee" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "milestone" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "labels" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "assignees" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#update-an-issue-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/labels/{name}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#update-a-label", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "new_name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "color" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "description" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/milestones/{milestone_number}", + "documentationUrl": "https://docs.github.com/rest/reference/issues#update-a-milestone", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "milestone_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the [`auto_trigger_checks` object](https://developer.github.com/v3/checks/suites/#auto_trigger_checks-object) description for details.", - "enum": null, "in": "BODY", - "name": "auto_trigger_checks", - "type": "object[]", - "required": false + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "due_on" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/licenses/{license}", + "documentationUrl": "https://docs.github.com/v3/licenses/#get-a-license", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "license" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/licenses", + "documentationUrl": "https://docs.github.com/v3/licenses/#get-all-commonly-used-licenses", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "featured" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/license", + "documentationUrl": "https://docs.github.com/v3/licenses/#get-the-license-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/markdown", + "documentationUrl": "https://docs.github.com/v3/markdown/#render-a-markdown-document", + "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "text" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "mode" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "context" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/markdown/raw", + "documentationUrl": "https://docs.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode", + "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "data" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/meta", + "documentationUrl": "https://docs.github.com/v3/meta/#get-github-meta-information", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/octocat", + "documentationUrl": "", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "s" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/zen", + "documentationUrl": "", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/", + "documentationUrl": "", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/import", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#cancel-an-import", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/user/migrations/{migration_id}/archive", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The `id` of the GitHub App.", - "enum": null, - "in": "BODY", - "name": "auto_trigger_checks[].app_id", - "type": "integer", - "required": true - }, + "in": "PATH", + "name": "migration_id" + } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/migrations/{migration_id}/archive", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them.", - "enum": null, - "in": "BODY", - "name": "auto_trigger_checks[].setting", - "type": "boolean", - "required": true + "in": "PATH", + "name": "migration_id" } ], - "previews": [{ "name": "antiope" }], - "headers": [ + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/migrations/{migration_id}/archive", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "migration_id" } ], - "responses": [ + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/user/migrations/{migration_id}/archive", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive", + "parameters": [ { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"preferences\":{\"type\":\"object\",\"properties\":{\"auto_trigger_checks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"app_id\":{\"type\":\"number\"},\"setting\":{\"type\":\"boolean\"}},\"required\":[\"app_id\",\"setting\"]}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}" + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "migration_id" } ], + "previews": [{ "name": "wyandotte" }], "renamed": null }, { - "name": "Update a check run", - "scope": "checks", - "id": "update", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/check-runs/{check_run_id}", - "documentationUrl": "https://developer.github.com/v3/checks/runs/#update-a-check-run", + "method": "GET", + "url": "/repos/{owner}/{repo}/import/authors", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-commit-authors", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/import", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-an-import-status", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/import/large_files", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-large-files", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/migrations/{migration_id}", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-a-user-migration-status", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "migration_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "exclude" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/migrations/{migration_id}", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, + "name": "migration_id" + } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/user/migrations", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-user-migrations", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/migrations", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-organization-migrations", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/migrations/{migration_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "check_run_id", - "type": "integer", - "required": true + "name": "migration_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "GET", + "url": "/user/migrations/{migration_id}/repositories", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the check. For example, \"code-coverage\".", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false + "in": "PATH", + "name": "migration_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/import/authors/{author_id}", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#map-a-commit-author", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "author_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "remote_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/import/lfs", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#update-git-lfs-preference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "use_lfs" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/user/migrations", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#start-a-user-migration", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The URL of the integrator's site that has the full details of the check.", - "enum": null, "in": "BODY", - "name": "details_url", - "type": "string", - "required": false + "name": "lock_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A reference for the run on the integrator's system.", - "enum": null, "in": "BODY", - "name": "external_id", - "type": "string", - "required": false + "name": "exclude_attachments" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "exclude" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, "in": "BODY", - "name": "started_at", - "type": "string", - "required": false - }, + "name": "repositories" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/orgs/{org}/migrations", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#start-an-organization-migration", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The current status. Can be one of `queued`, `in_progress`, or `completed`.", - "enum": ["queued", "in_progress", "completed"], "in": "BODY", - "name": "status", - "type": "string", - "required": false + "name": "repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "**Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. \n**Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`.", - "enum": [ - "success", - "failure", - "neutral", - "cancelled", - "skipped", - "timed_out", - "action_required" - ], "in": "BODY", - "name": "conclusion", - "type": "string", - "required": false + "name": "lock_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, "in": "BODY", - "name": "completed_at", - "type": "string", - "required": false + "name": "exclude_attachments" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "exclude" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/import", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#start-an-import", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "vcs_url" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "vcs" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object-1) description.", - "enum": null, "in": "BODY", - "name": "output", - "type": "object", - "required": false + "name": "vcs_username" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "**Required**.", - "enum": null, "in": "BODY", - "name": "output.title", - "type": "string", - "required": false + "name": "vcs_password" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Can contain Markdown.", - "enum": null, "in": "BODY", - "name": "output.summary", - "type": "string", - "required": true - }, + "name": "tfvc_project" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/user/migrations/{migration_id}/repos/{repo_name}/lock", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#unlock-a-user-repository", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Can contain Markdown.", - "enum": null, - "in": "BODY", - "name": "output.text", - "type": "string", - "required": false + "in": "PATH", + "name": "migration_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo_name" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Adds information from your analysis to specific lines of code. Annotations are visible in GitHub's pull request UI. Annotations are visible in GitHub's pull request UI. The Checks API limits the number of annotations to a maximum of 50 per API request. To create more than 50 annotations, you have to make multiple requests to the [Update a check run](https://developer.github.com/v3/checks/runs/#update-a-check-run) endpoint. Each time you update the check run, annotations are appended to the list of annotations that already exist for the check run. For details about annotations in the UI, see \"[About status checks](https://docs.github.com/articles/about-status-checks#checks)\". See the [`annotations` object](https://developer.github.com/v3/checks/runs/#annotations-object-1) description for details.", - "enum": null, - "in": "BODY", - "name": "output.annotations", - "type": "object[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The path of the file to add an annotation to. For example, `assets/css/main.css`.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The start line of the annotation.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].start_line", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The end line of the annotation.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].end_line", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The start column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].start_column", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The end column of the annotation. Annotations only support `start_column` and `end_column` on the same line. Omit this parameter if `start_line` and `end_line` have different values.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].end_column", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The level of the annotation. Can be one of `notice`, `warning`, or `failure`.", - "enum": ["notice", "warning", "failure"], - "in": "BODY", - "name": "output.annotations[].annotation_level", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the feedback for these lines of code. The maximum size is 64 KB.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].message", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title that represents the annotation. The maximum size is 255 characters.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Details about this annotation. The maximum size is 64 KB.", - "enum": null, - "in": "BODY", - "name": "output.annotations[].raw_details", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Adds images to the output displayed in the GitHub pull request UI. See the [`images` object](https://developer.github.com/v3/checks/runs/#annotations-object-1) description for details.", - "enum": null, - "in": "BODY", - "name": "output.images", - "type": "object[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The alternative text for the image.", - "enum": null, - "in": "BODY", - "name": "output.images[].alt", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The full URL of the image.", - "enum": null, - "in": "BODY", - "name": "output.images[].image_url", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short image description.", - "enum": null, - "in": "BODY", - "name": "output.images[].caption", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see \"[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions).\"", - "enum": null, - "in": "BODY", - "name": "actions", - "type": "object[]", - "required": false + "in": "PATH", + "name": "migration_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo_name" } + ], + "previews": [{ "name": "wyandotte" }], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/import", + "documentationUrl": "https://docs.github.com/rest/reference/migrations#update-an-import", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The text to be displayed on a button in the web UI. The maximum size is 20 characters.", - "enum": null, "in": "BODY", - "name": "actions[].label", - "type": "string", - "required": true + "name": "vcs_username" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A short explanation of what this action would do. The maximum size is 40 characters.", - "enum": null, "in": "BODY", - "name": "actions[].description", - "type": "string", - "required": true + "name": "vcs_password" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "vcs" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A reference for the action on the integrator's system. The maximum size is 20 characters.", - "enum": null, "in": "BODY", - "name": "actions[].identifier", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "antiope" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.antiope-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"head_sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"external_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"details_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"conclusion\":{\"nullable\":true,\"type\":\"string\"},\"started_at\":{\"type\":\"string\"},\"completed_at\":{\"nullable\":true,\"type\":\"string\"},\"output\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"text\":{\"type\":\"string\"},\"annotations_count\":{\"type\":\"number\"},\"annotations_url\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"check_suite\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"}}},\"app\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"pull_requests\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"number\":{\"type\":\"number\"},\"head\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"}}}}}}}}}}" + "name": "tfvc_project" } ], + "previews": [], "renamed": null }, { - "name": "Get a code scanning alert", - "scope": "codeScanning", - "id": "getAlert", - "method": "GET", - "url": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "documentationUrl": "https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert", + "method": "POST", + "url": "/authorizations", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization", "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "scopes" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note_url" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "client_id" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "client_secret" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "fingerprint" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/authorizations/{authorization_id}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The code scanning alert number.", - "enum": null, - "in": "PATH", - "name": "alert_number", - "type": "integer", - "required": false - }, - { - "alias": "alert_number", - "allowNull": false, - "deprecated": true, - "description": "The code scanning alert number.", - "enum": null, "in": "PATH", - "name": "alert_id", - "type": "integer", - "required": false + "name": "authorization_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"number\":{\"type\":\"integer\",\"description\":\"The code scanning alert number.\",\"readOnly\":true,\"nullable\":false},\"created_at\":{\"type\":\"string\",\"description\":\"The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":false},\"url\":{\"type\":\"string\",\"description\":\"The REST API URL of the alert resource.\",\"format\":\"uri\",\"readOnly\":true,\"nullable\":false},\"html_url\":{\"type\":\"string\",\"description\":\"The GitHub URL of the alert resource.\",\"format\":\"uri\",\"readOnly\":true,\"nullable\":false},\"instances\":{\"nullable\":true,\"type\":\"array\",\"properties\":{\"ref\":{\"type\":\"string\",\"description\":\"The full Git reference, formatted as `refs/heads/`.\"},\"analysis_key\":{\"type\":\"string\",\"description\":\"Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.\"},\"environment\":{\"type\":\"string\",\"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.\"},\"matrix_vars\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\",\"description\":\"State of a code scanning alert.\",\"enum\":[\"open\",\"dismissed\",\"fixed\"]}}},\"state\":{\"type\":\"string\",\"description\":\"State of a code scanning alert.\",\"enum\":[\"open\",\"dismissed\",\"fixed\"]},\"dismissed_by\":{\"nullable\":true,\"oneOf\":[{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},{\"enum\":[null]}]},\"dismissed_at\":{\"type\":\"string\",\"description\":\"The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":true},\"dismissed_reason\":{\"type\":\"string\",\"description\":\"**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.\",\"nullable\":true,\"oneOf\":[{\"enum\":[\"false positive\",\"won't fix\",\"used in tests\"]},{\"enum\":[null]}]},\"rule\":{\"type\":\"object\",\"properties\":{\"id\":{\"nullable\":true,\"type\":\"string\",\"description\":\"A unique identifier for the rule used to detect the alert.\"},\"severity\":{\"nullable\":true,\"type\":\"string\",\"description\":\"The severity of the alert.\",\"enum\":[\"none\",\"note\",\"warning\",\"error\"]},\"description\":{\"type\":\"string\",\"description\":\"A short description of the rule used to detect the alert.\"}}},\"tool\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"The name of the tool used to generate the code scanning analysis alert.\"},\"version\":{\"nullable\":true,\"type\":\"string\",\"description\":\"The version of the tool used to detect the alert.\"}}}}}" - } + "renamed": null + }, + { + "method": "DELETE", + "url": "/applications/grants/{grant_id}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "grant_id" } ], + "previews": [], "renamed": null }, { - "name": "List code scanning alerts for a repository", - "scope": "codeScanning", - "id": "listAlertsForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/code-scanning/alerts", - "documentationUrl": "https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository", + "url": "/authorizations/{authorization_id}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization", "parameters": [ { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Set to `open`, `fixed`, or `dismissed` to list code scanning alerts in a specific state.", - "enum": ["open", "dismissed", "fixed"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Set a full Git reference to list alerts for a specific branch. The `ref` must be formatted as `refs/heads/`.", - "enum": null, - "in": "QUERY", - "name": "ref", - "type": "string", - "required": false + "name": "authorization_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"number\":{\"type\":\"integer\",\"description\":\"The code scanning alert number.\",\"readOnly\":true,\"nullable\":false},\"created_at\":{\"type\":\"string\",\"description\":\"The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":false},\"url\":{\"type\":\"string\",\"description\":\"The REST API URL of the alert resource.\",\"format\":\"uri\",\"readOnly\":true,\"nullable\":false},\"html_url\":{\"type\":\"string\",\"description\":\"The GitHub URL of the alert resource.\",\"format\":\"uri\",\"readOnly\":true,\"nullable\":false},\"state\":{\"type\":\"string\",\"description\":\"State of a code scanning alert.\",\"enum\":[\"open\",\"dismissed\",\"fixed\"]},\"dismissed_by\":{\"nullable\":true,\"oneOf\":[{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},{\"enum\":[null]}]},\"dismissed_at\":{\"type\":\"string\",\"description\":\"The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":true},\"dismissed_reason\":{\"type\":\"string\",\"description\":\"**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.\",\"nullable\":true,\"oneOf\":[{\"enum\":[\"false positive\",\"won't fix\",\"used in tests\"]},{\"enum\":[null]}]},\"rule\":{\"type\":\"object\",\"properties\":{\"id\":{\"nullable\":true,\"type\":\"string\",\"description\":\"A unique identifier for the rule used to detect the alert.\"},\"severity\":{\"nullable\":true,\"type\":\"string\",\"description\":\"The severity of the alert.\",\"enum\":[\"none\",\"note\",\"warning\",\"error\"]},\"description\":{\"type\":\"string\",\"description\":\"A short description of the rule used to detect the alert.\"}}},\"tool\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"The name of the tool used to generate the code scanning analysis alert.\"},\"version\":{\"nullable\":true,\"type\":\"string\",\"description\":\"The version of the tool used to detect the alert.\"}}}}}}" - } - ], "renamed": null }, { - "name": "List recent code scanning analyses for a repository", - "scope": "codeScanning", - "id": "listRecentAnalyses", "method": "GET", - "url": "/repos/{owner}/{repo}/code-scanning/analyses", - "documentationUrl": "https://developer.github.com/v3/code-scanning/#list-recent-analyses", + "url": "/applications/grants/{grant_id}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "grant_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/authorizations/clients/{client_id}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "client_secret" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "scopes" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note_url" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "fingerprint" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/authorizations/clients/{client_id}/{fingerprint}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "client_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "fingerprint" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Set a full Git reference to list alerts for a specific branch. The `ref` must be formatted as `refs/heads/`.", - "enum": null, - "in": "QUERY", - "name": "ref", - "type": "string", - "required": false + "in": "BODY", + "name": "client_secret" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Set a single code scanning tool name to filter alerts by tool.", - "enum": null, - "in": "QUERY", - "name": "tool_name", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "scopes" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note_url" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"commit_sha\":{\"description\":\"The commit SHA of the code scanning analysis file.\",\"type\":\"string\",\"minLength\":40,\"maxLength\":40,\"pattern\":\"^[0-9a-fA-F]+$\"},\"ref\":{\"type\":\"string\",\"description\":\"The full Git reference of the code scanning analysis file, formatted as `refs/heads/`.\"},\"analysis_key\":{\"type\":\"string\",\"description\":\"Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.\"},\"created_at\":{\"type\":\"string\",\"description\":\"The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":false},\"tool_name\":{\"type\":\"string\",\"description\":\"The name of the tool used to generate the code scanning analysis alert.\"},\"error\":{\"type\":\"string\",\"example\":\"error reading field xyz\"},\"environment\":{\"type\":\"string\",\"description\":\"Identifies the variable values associated with the environment in which this analysis was performed.\"}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/authorizations", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/applications/grants", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Update a code scanning alert", - "scope": "codeScanning", - "id": "updateAlert", "method": "PATCH", - "url": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - "documentationUrl": "https://developer.github.com/v3/code-scanning/#upload-a-code-scanning-alert", + "url": "/authorizations/{authorization_id}", + "documentationUrl": "https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization", "parameters": [ { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "The code scanning alert number.", - "enum": null, "in": "PATH", - "name": "alert_number", - "type": "integer", - "required": false + "name": "authorization_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "scopes" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "add_scopes" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Sets the state of the code scanning alert. Can be one of `open` or `dismissed`. You must provide `dismissed_reason` when you set the state to `dismissed`.", - "enum": ["open", "dismissed"], "in": "BODY", - "name": "state", - "type": "string", - "required": true + "name": "remove_scopes" }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.", - "enum": null, - "in": "BODY", - "name": "dismissed_reason", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "note" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note_url" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "fingerprint" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"number\":{\"type\":\"integer\",\"description\":\"The code scanning alert number.\",\"readOnly\":true,\"nullable\":false},\"created_at\":{\"type\":\"string\",\"description\":\"The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":false},\"url\":{\"type\":\"string\",\"description\":\"The REST API URL of the alert resource.\",\"format\":\"uri\",\"readOnly\":true,\"nullable\":false},\"html_url\":{\"type\":\"string\",\"description\":\"The GitHub URL of the alert resource.\",\"format\":\"uri\",\"readOnly\":true,\"nullable\":false},\"instances\":{\"nullable\":true,\"type\":\"array\",\"properties\":{\"ref\":{\"type\":\"string\",\"description\":\"The full Git reference, formatted as `refs/heads/`.\"},\"analysis_key\":{\"type\":\"string\",\"description\":\"Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.\"},\"environment\":{\"type\":\"string\",\"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.\"},\"matrix_vars\":{\"nullable\":true,\"type\":\"string\"},\"state\":{\"type\":\"string\",\"description\":\"State of a code scanning alert.\",\"enum\":[\"open\",\"dismissed\",\"fixed\"]}}},\"state\":{\"type\":\"string\",\"description\":\"State of a code scanning alert.\",\"enum\":[\"open\",\"dismissed\",\"fixed\"]},\"dismissed_by\":{\"nullable\":true,\"oneOf\":[{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},{\"enum\":[null]}]},\"dismissed_at\":{\"type\":\"string\",\"description\":\"The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.\",\"format\":\"date-time\",\"readOnly\":true,\"nullable\":true},\"dismissed_reason\":{\"type\":\"string\",\"description\":\"**Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`.\",\"nullable\":true,\"oneOf\":[{\"enum\":[\"false positive\",\"won't fix\",\"used in tests\"]},{\"enum\":[null]}]},\"rule\":{\"type\":\"object\",\"properties\":{\"id\":{\"nullable\":true,\"type\":\"string\",\"description\":\"A unique identifier for the rule used to detect the alert.\"},\"severity\":{\"nullable\":true,\"type\":\"string\",\"description\":\"The severity of the alert.\",\"enum\":[\"none\",\"note\",\"warning\",\"error\"]},\"description\":{\"type\":\"string\",\"description\":\"A short description of the rule used to detect the alert.\"}}},\"tool\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"description\":\"The name of the tool used to generate the code scanning analysis alert.\"},\"version\":{\"nullable\":true,\"type\":\"string\",\"description\":\"The version of the tool used to detect the alert.\"}}}}}" - } + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/blocks/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/blocks/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/members/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/public_members/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/outside_collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], + "previews": [], "renamed": null }, { - "name": "Upload a SARIF file", - "scope": "codeScanning", - "id": "uploadSarif", "method": "POST", - "url": "/repos/{owner}/{repo}/code-scanning/sarifs", - "documentationUrl": "https://developer.github.com/v3/code-scanning/#upload-a-sarif-analysis", + "url": "/orgs/{org}/invitations", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#create-an-organization-invitation", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "invitee_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "role" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "team_ids" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/orgs/{org}/hooks", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#create-an-organization-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config.url" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "config.content_type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The commit SHA of the code scanning analysis file.", - "enum": null, "in": "BODY", - "name": "commit_sha", - "type": "string", - "required": true + "name": "config.secret" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The full Git reference of the code scanning analysis file, formatted as `refs/heads/`.", - "enum": null, "in": "BODY", - "name": "ref", - "type": "string", - "required": true + "name": "config.insecure_ssl" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string.", - "enum": null, "in": "BODY", - "name": "sarif", - "type": "string", - "required": true + "name": "config.username" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The base directory used in the analysis, as it appears in the SARIF file. \nThis property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.", - "enum": null, "in": "BODY", - "name": "checkout_uri", - "type": "string", - "required": false + "name": "config.password" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "BODY", - "name": "started_at", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the tool used to generate the code scanning analysis alert.", - "enum": null, - "in": "BODY", - "name": "tool_name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "events" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get all codes of conduct", - "scope": "codesOfConduct", - "id": "getAllCodesOfConduct", - "method": "GET", - "url": "/codes_of_conduct", - "documentationUrl": "https://developer.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct", - "parameters": [], - "previews": [{ "name": "scarlet-witch" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.scarlet-witch-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}" - } + "method": "DELETE", + "url": "/orgs/{org}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], + "previews": [], "renamed": null }, { - "name": "Get a code of conduct", - "scope": "codesOfConduct", - "id": "getConductCode", "method": "GET", - "url": "/codes_of_conduct/{key}", - "documentationUrl": "https://developer.github.com/v3/codes_of_conduct/#get-a-code-of-conduct", + "url": "/orgs/{org}", + "documentationUrl": "https://docs.github.com/v3/orgs/#get-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "key", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "scarlet-witch" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.scarlet-witch-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], + "previews": [], "renamed": null }, { - "name": "Get the code of conduct for a repository", - "scope": "codesOfConduct", - "id": "getForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/community/code_of_conduct", - "documentationUrl": "https://developer.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "url": "/user/memberships/orgs/{org}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "scarlet-witch" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.scarlet-witch-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], + "previews": [], "renamed": null }, { - "name": "Get emojis", - "scope": "emojis", - "id": "get", "method": "GET", - "url": "/emojis", - "documentationUrl": "https://developer.github.com/v3/emojis/#get-emojis", - "parameters": [], + "url": "/orgs/{org}/memberships/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Add organization access to a self-hosted runner group in an enterprise", - "scope": "enterpriseAdmin", - "id": "addOrgAccessToSelfHostedRunnerGroupInEnterprise", - "method": "PUT", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "method": "GET", + "url": "/orgs/{org}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#get-an-organization-webhook", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of an organization.", - "enum": null, - "in": "PATH", - "name": "org_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Add a self-hosted runner to a group for an enterprise", - "scope": "enterpriseAdmin", - "id": "addSelfHostedRunnerToRunnerGroupForEnterprise", - "method": "PUT", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#add-a-self-hosted-runner-to-a-group-for-an-enterprise", + "method": "GET", + "url": "/orgs/{org}/hooks/{hook_id}/config", + "documentationUrl": "https://docs.github.com/v3/orgs#get-a-webhook-configuration-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Create a registration token for an enterprise", - "scope": "enterpriseAdmin", - "id": "createRegistrationTokenForEnterprise", - "method": "POST", - "url": "/enterprises/{enterprise}/actions/runners/registration-token", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#create-a-registration-token-for-an-enterprise", + "method": "GET", + "url": "/organizations", + "documentationUrl": "https://docs.github.com/v3/orgs/#list-organizations", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a remove token for an enterprise", - "scope": "enterpriseAdmin", - "id": "createRemoveTokenForEnterprise", - "method": "POST", - "url": "/enterprises/{enterprise}/actions/runners/remove-token", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#create-a-remove-token-for-an-enterprise", + "method": "GET", + "url": "/orgs/{org}/installations", + "documentationUrl": "https://docs.github.com/v3/orgs/#list-app-installations-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a self-hosted runner group for an enterprise", - "scope": "enterpriseAdmin", - "id": "createSelfHostedRunnerGroupForEnterprise", - "method": "POST", - "url": "/enterprises/{enterprise}/actions/runner-groups", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#create-self-hosted-runner-group-for-an-enterprise", + "method": "GET", + "url": "/orgs/{org}/blocks", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Name of the runner group.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Visibility of a runner group. You can select all organizations or select individual organization. Can be one of: `all` or `selected`", - "enum": ["selected", "all"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of organization IDs that can access the runner group.", - "enum": null, - "in": "BODY", - "name": "selected_organization_ids", - "type": "integer[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of runner IDs to add to the runner group.", - "enum": null, - "in": "BODY", - "name": "runners", - "type": "integer[]", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_organizations_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Delete a SCIM group from an enterprise", - "scope": "enterpriseAdmin", - "id": "deleteScimGroupFromEnterprise", - "method": "DELETE", - "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-group-from-an-enterprise", + "method": "GET", + "url": "/user/orgs", + "documentationUrl": "https://docs.github.com/v3/orgs/#list-organizations-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_group_id", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a self-hosted runner from an enterprise", - "scope": "enterpriseAdmin", - "id": "deleteSelfHostedRunnerFromEnterprise", - "method": "DELETE", - "url": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#delete-self-hosted-runner-from-an-enterprise", + "method": "GET", + "url": "/users/{username}/orgs", + "documentationUrl": "https://docs.github.com/v3/orgs/#list-organizations-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a self-hosted runner group from an enterprise", - "scope": "enterpriseAdmin", - "id": "deleteSelfHostedRunnerGroupFromEnterprise", - "method": "DELETE", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#delete-a-self-hosted-runner-group-from-an-enterprise", + "method": "GET", + "url": "/orgs/{org}/invitations/{invitation_id}/teams", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "name": "invitation_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a SCIM user from an enterprise", - "scope": "enterpriseAdmin", - "id": "deleteUserFromEnterprise", - "method": "DELETE", - "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-user-from-an-enterprise", + "method": "GET", + "url": "/orgs/{org}/members", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organization-members", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "role" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get GitHub Actions billing for an enterprise", - "scope": "enterpriseAdmin", - "id": "getGithubActionsBillingGhe", "method": "GET", - "url": "/enterprises/{enterprise}/settings/billing/actions", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/billing/#get-github-actions-billing-for-an-enterprise", + "url": "/user/memberships/orgs", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": "enterprise", - "allowNull": false, - "deprecated": true, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise_id", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_minutes_used\":{\"type\":\"number\",\"description\":\"The sum of the free and paid GitHub Actions minutes used.\"},\"total_paid_minutes_used\":{\"type\":\"number\",\"description\":\"The total paid GitHub Actions minutes used.\"},\"included_minutes\":{\"type\":\"number\",\"description\":\"The amount of free GitHub Actions minutes available.\"},\"minutes_used_breakdown\":{\"type\":\"object\",\"properties\":{\"UBUNTU\":{\"type\":\"number\",\"description\":\"Total minutes used on Ubuntu runner machines.\"},\"MACOS\":{\"type\":\"number\",\"description\":\"Total minutes used on macOS runner machines.\"},\"WINDOWS\":{\"type\":\"number\",\"description\":\"Total minutes used on Windows runner machines.\"}}}}}" - } - ], "renamed": null }, { - "name": "Get GitHub Packages billing for an enterprise", - "scope": "enterpriseAdmin", - "id": "getGithubPackagesBillingGhe", "method": "GET", - "url": "/enterprises/{enterprise}/settings/billing/packages", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/billing/#get-github-packages-billing-for-an-enterprise", + "url": "/orgs/{org}/outside_collaborators", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": "enterprise", - "allowNull": false, - "deprecated": true, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise_id", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_gigabytes_bandwidth_used\":{\"type\":\"number\",\"description\":\"Sum of the free and paid storage space (GB) for GitHuub Packages.\"},\"total_paid_gigabytes_bandwidth_used\":{\"type\":\"number\",\"description\":\"Total paid storage space (GB) for GitHuub Packages.\"},\"included_gigabytes_bandwidth\":{\"type\":\"number\",\"description\":\"Free storage space (GB) for GitHub Packages.\"}}}" - } - ], "renamed": null }, { - "name": "Get SCIM provisioning information for an enterprise group", - "scope": "enterpriseAdmin", - "id": "getProvisioningInformationForEnterpriseGroup", "method": "GET", - "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise group", + "url": "/orgs/{org}/invitations", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_group_id", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\",\"nullable\":true},\"displayName\":{\"type\":\"string\"},\"members\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"$ref\":{\"type\":\"string\"},\"display\":{\"type\":\"string\"}}}},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/public_members", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-public-organization-members", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Get SCIM provisioning information for an enterprise user", - "scope": "enterpriseAdmin", - "id": "getProvisioningInformationForEnterpriseUser", "method": "GET", - "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise-user", + "url": "/orgs/{org}/credential-authorizations", + "documentationUrl": "https://docs.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Get a self-hosted runner for an enterprise", - "scope": "enterpriseAdmin", - "id": "getSelfHostedRunnerForEnterprise", "method": "GET", - "url": "/enterprises/{enterprise}/actions/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#get-a-self-hosted-runner-for-an-enterprise", + "url": "/orgs/{org}/hooks", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organization-webhooks", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, - "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}" - } - ], "renamed": null }, { - "name": "Get a self-hosted runner group for an enterprise", - "scope": "enterpriseAdmin", - "id": "getSelfHostedRunnerGroupForEnterprise", - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#get-a-self-hosted-runner-group-for-an-enterprise", + "method": "POST", + "url": "/orgs/{org}/hooks/{hook_id}/pings", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_organizations_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get shared storage billing for an enterprise", - "scope": "enterpriseAdmin", - "id": "getSharedStorageBillingGhe", - "method": "GET", - "url": "/enterprises/{enterprise}/settings/billing/shared-storage", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/billing/#get-shared-storage-billing-for-an-enterprise", + "method": "DELETE", + "url": "/orgs/{org}/members/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#remove-an-organization-member", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": "enterprise", - "allowNull": false, - "deprecated": true, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise_id", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"days_left_in_billing_cycle\":{\"type\":\"number\",\"description\":\"Numbers of days left in billing cycle.\"},\"estimated_paid_storage_for_month\":{\"type\":\"number\",\"description\":\"Estimated storage space (GB) used in billing cycle.\"},\"estimated_storage_for_month\":{\"type\":\"number\",\"description\":\"Estimated sum of free and paid storage space (GB) used in billing cycle.\"}}}" - } - ], "renamed": null }, { - "name": "List organization access to a self-hosted runner group in an enterprise", - "scope": "enterpriseAdmin", - "id": "listOrgAccessToSelfHostedRunnerGroupInEnterprise", - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise", + "method": "DELETE", + "url": "/orgs/{org}/memberships/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"organizations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "List provisioned SCIM groups for an enterprise", - "scope": "enterpriseAdmin", - "id": "listProvisionedGroupsEnterprise", - "method": "GET", - "url": "/scim/v2/enterprises/{enterprise}/Groups", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#list-provisioned-scim groups-for-an-enterprise", + "method": "DELETE", + "url": "/orgs/{org}/outside_collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Used for pagination: the index of the first result to return.", - "enum": null, - "in": "QUERY", - "name": "startIndex", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Used for pagination: the number of results to return.", - "enum": null, - "in": "QUERY", - "name": "count", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"totalResults\":{\"type\":\"number\"},\"itemsPerPage\":{\"type\":\"number\"},\"startIndex\":{\"type\":\"number\"},\"Resources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\",\"nullable\":true},\"displayName\":{\"type\":\"string\"},\"members\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"$ref\":{\"type\":\"string\"},\"display\":{\"type\":\"string\"}}}},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}}}}" - } - ], "renamed": null }, { - "name": "List SCIM provisioned identities for an enterprise", - "scope": "enterpriseAdmin", - "id": "listProvisionedIdentitiesEnterprise", - "method": "GET", - "url": "/scim/v2/enterprises/{enterprise}/Users", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#list-scim-provisioned-identities-for-an-enterprise", + "method": "DELETE", + "url": "/orgs/{org}/public_members/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Used for pagination: the index of the first result to return.", - "enum": null, - "in": "QUERY", - "name": "startIndex", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Used for pagination: the number of results to return.", - "enum": null, - "in": "QUERY", - "name": "count", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"totalResults\":{\"type\":\"number\"},\"itemsPerPage\":{\"type\":\"number\"},\"startIndex\":{\"type\":\"number\"},\"Resources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"},\"type\":{\"type\":\"string\"}}}},\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}}}}" - } - ], "renamed": null }, { - "name": "List runner applications for an enterprise", - "scope": "enterpriseAdmin", - "id": "listRunnerApplicationsForEnterprise", - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runners/downloads", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#list-runner-applications-for-an-enterprise", + "method": "DELETE", + "url": "/orgs/{org}/credential-authorizations/{credential_id}", + "documentationUrl": "https://docs.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "name": "credential_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"os\":{\"type\":\"string\"},\"architecture\":{\"type\":\"string\"},\"download_url\":{\"type\":\"string\"},\"filename\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List self-hosted runner groups for an enterprise", - "scope": "enterpriseAdmin", - "id": "listSelfHostedRunnerGroupsForEnterprise", - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runner-groups", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runner-groups-for-an-enterprise", + "method": "PUT", + "url": "/orgs/{org}/memberships/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "role" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runner_groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_organizations_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "List self-hosted runners for an enterprise", - "scope": "enterpriseAdmin", - "id": "listSelfHostedRunnersForEnterprise", - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runners", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runners-for-an-enterprise", + "method": "PUT", + "url": "/orgs/{org}/public_members/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runners\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}}}}" - } - ], "renamed": null }, { - "name": "List self-hosted runners in a group for an enterprise", - "scope": "enterpriseAdmin", - "id": "listSelfHostedRunnersInGroupForEnterprise", - "method": "GET", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runners-in-a-group-for-an-enterprise", + "method": "DELETE", + "url": "/orgs/{org}/blocks/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"runners\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"os\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"busy\":{\"type\":\"boolean\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\",\"description\":\"Unique identifier of the label.\"},\"name\":{\"type\":\"string\",\"description\":\"Name of the label.\"},\"type\":{\"type\":\"string\",\"description\":\"The type of label. Read-only labels are applied automatically when the runner is configured.\",\"enum\":[\"read-only\",\"custom\"]}}}}}}}}}" - } - ], "renamed": null }, { - "name": "Provision a SCIM enterprise group and invite users", - "scope": "enterpriseAdmin", - "id": "provisionAndInviteEnterpriseGroup", - "method": "POST", - "url": "/scim/v2/enterprises/{enterprise}/Groups", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#provision-a-scim-enterprise-group-and-invite-users", + "method": "PATCH", + "url": "/orgs/{org}", + "documentationUrl": "https://docs.github.com/v3/orgs/#update-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "in": "BODY", + "name": "billing_email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "company" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "email" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true + "name": "twitter_username" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "location" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the SCIM group. This must match the GitHub organization that the group maps to.", - "enum": null, "in": "BODY", - "name": "displayName", - "type": "string", - "required": true + "name": "description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "BODY", - "name": "members", - "type": "object[]", - "required": false + "name": "has_organization_projects" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SCIM user ID for a user.", - "enum": null, "in": "BODY", - "name": "members[].value", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\",\"nullable\":true},\"displayName\":{\"type\":\"string\"},\"members\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"$ref\":{\"type\":\"string\"},\"display\":{\"type\":\"string\"}}}},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Provision and invite a SCIM enterprise user", - "scope": "enterpriseAdmin", - "id": "provisionAndInviteEnterpriseUser", - "method": "POST", - "url": "/scim/v2/enterprises/{enterprise}/Users", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#provision-and-invite-a-scim-enterprise-user", - "parameters": [ + "name": "has_repository_projects" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "in": "BODY", + "name": "default_repository_permission" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true + "name": "members_can_create_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The username for the user.", - "enum": null, "in": "BODY", - "name": "userName", - "type": "string", - "required": true + "name": "members_can_create_internal_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "BODY", - "name": "name", - "type": "object", - "required": true + "name": "members_can_create_private_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The first name of the user.", - "enum": null, "in": "BODY", - "name": "name.givenName", - "type": "string", - "required": true + "name": "members_can_create_public_repositories" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The last name of the user.", - "enum": null, "in": "BODY", - "name": "name.familyName", - "type": "string", - "required": true + "name": "members_allowed_repository_creation_type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "List of user emails.", - "enum": null, "in": "BODY", - "name": "emails", - "type": "object[]", - "required": true + "name": "members_can_create_pages" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "blog" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/user/memberships/orgs/{org}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/orgs/{org}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#update-an-organization-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config.url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The email address.", - "enum": null, "in": "BODY", - "name": "emails[].value", - "type": "string", - "required": true + "name": "config.content_type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The type of email address.", - "enum": null, "in": "BODY", - "name": "emails[].type", - "type": "string", - "required": true + "name": "config.secret" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Whether this email address is the primary address.", - "enum": null, "in": "BODY", - "name": "emails[].primary", - "type": "boolean", - "required": true + "name": "config.insecure_ssl" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "events" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/orgs/{org}/hooks/{hook_id}/config", + "documentationUrl": "https://docs.github.com/v3/orgs#update-a-webhook-configuration-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "List of SCIM group IDs the user is a member of.", - "enum": null, "in": "BODY", - "name": "groups", - "type": "object[]", - "required": false + "name": "content_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "secret" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "BODY", - "name": "groups[].value", - "type": "string", - "required": false + "name": "insecure_ssl" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "PUT", + "url": "/projects/{project_id}/collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#add-project-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" } ], + "previews": [{ "name": "inertia" }], "renamed": null }, { - "name": "Remove organization access to a self-hosted runner group in an enterprise", - "scope": "enterpriseAdmin", - "id": "removeOrgAccessToSelfHostedRunnerGroupInEnterprise", - "method": "DELETE", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "method": "POST", + "url": "/projects/columns/{column_id}/cards", + "documentationUrl": "https://docs.github.com/rest/reference/projects#create-a-project-card", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "column_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, + "in": "BODY", + "name": "content_type" + } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "POST", + "url": "/projects/{project_id}/columns", + "documentationUrl": "https://docs.github.com/rest/reference/projects#create-a-project-column", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "POST", + "url": "/user/projects", + "documentationUrl": "https://docs.github.com/v3/projects/#create-a-user-project", + "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "POST", + "url": "/orgs/{org}/projects", + "documentationUrl": "https://docs.github.com/v3/projects/#create-an-organization-project", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/projects", + "documentationUrl": "https://docs.github.com/v3/projects/#create-a-repository-project", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/projects/#delete-a-project", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/projects/columns/cards/{card_id}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#delete-a-project-card", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "card_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/projects/columns/{column_id}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#delete-a-project-column", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "column_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/projects/#get-a-project", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/columns/cards/{card_id}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#get-a-project-card", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "card_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/columns/{column_id}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#get-a-project-column", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "column_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/{project_id}/collaborators/{username}/permission", + "documentationUrl": "https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/columns/{column_id}/cards", + "documentationUrl": "https://docs.github.com/rest/reference/projects#list-project-cards", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "column_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "in": "QUERY", + "name": "archived_state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/{project_id}/collaborators", + "documentationUrl": "https://docs.github.com/rest/reference/projects#list-project-collaborators", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of an organization.", - "enum": null, - "in": "PATH", - "name": "org_id", - "type": "integer", - "required": true - } + "in": "QUERY", + "name": "affiliation" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [], - "headers": [], - "responses": [], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/projects/{project_id}/columns", + "documentationUrl": "https://docs.github.com/rest/reference/projects#list-project-columns", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/projects", + "documentationUrl": "https://docs.github.com/v3/projects/#list-organization-projects", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/projects", + "documentationUrl": "https://docs.github.com/v3/projects/#list-repository-projects", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/users/{username}/projects", + "documentationUrl": "https://docs.github.com/v3/projects/#list-user-projects", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "POST", + "url": "/projects/columns/cards/{card_id}/moves", + "documentationUrl": "https://docs.github.com/rest/reference/projects#move-a-project-card", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "card_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "position" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "column_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "POST", + "url": "/projects/columns/{column_id}/moves", + "documentationUrl": "https://docs.github.com/rest/reference/projects#move-a-project-column", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "column_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "position" } + ], + "previews": [{ "name": "inertia" }], "renamed": null }, { - "name": "Remove a self-hosted runner from a group for an enterprise", - "scope": "enterpriseAdmin", - "id": "removeSelfHostedRunnerFromGroupForEnterprise", "method": "DELETE", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#remove-a-self-hosted-runner-from-a-group-for-an-enterprise", + "url": "/projects/{project_id}/collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#remove-project-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "PATCH", + "url": "/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/projects/#update-a-project", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "in": "BODY", + "name": "organization_permission" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "PATCH", + "url": "/projects/columns/cards/{card_id}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#update-a-project-card", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "card_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "note" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "archived" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "PATCH", + "url": "/projects/columns/{column_id}", + "documentationUrl": "https://docs.github.com/rest/reference/projects#update-a-project-column", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "column_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", + "documentationUrl": "https://docs.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "pull_number" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/pulls", + "documentationUrl": "https://docs.github.com/v3/pulls/#create-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "head" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "base" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, - "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "maintainer_can_modify" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "draft" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "issue" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner.", - "enum": null, "in": "PATH", - "name": "runner_id", - "type": "integer", - "required": true - } + "name": "pull_number" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Set SCIM information for a provisioned enterprise group", - "scope": "enterpriseAdmin", - "id": "setInformationForProvisionedEnterpriseGroup", - "method": "PUT", - "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-group", + "method": "POST", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "commit_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "event" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "comments" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_group_id", - "type": "string", - "required": true + "in": "BODY", + "name": "comments[].path" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true + "name": "comments[].position" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the SCIM group. This must match the GitHub organization that the group maps to.", - "enum": null, "in": "BODY", - "name": "displayName", - "type": "string", - "required": true + "name": "comments[].body" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "BODY", - "name": "members", - "type": "object[]", - "required": false + "name": "comments[].line" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SCIM user ID for a user.", - "enum": null, "in": "BODY", - "name": "members[].value", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "comments[].side" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "comments[].start_line" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\",\"nullable\":true},\"displayName\":{\"type\":\"string\"},\"members\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"$ref\":{\"type\":\"string\"},\"display\":{\"type\":\"string\"}}}},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "comments[].start_side" } ], + "previews": [], "renamed": null }, { - "name": "Set SCIM information for a provisioned enterprise user", - "scope": "enterpriseAdmin", - "id": "setInformationForProvisionedEnterpriseUser", - "method": "PUT", - "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-user", + "method": "POST", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "name": "pull_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, - "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The username for the user.", - "enum": null, - "in": "BODY", - "name": "userName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "name", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The first name of the user.", - "enum": null, - "in": "BODY", - "name": "name.givenName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The last name of the user.", - "enum": null, - "in": "BODY", - "name": "name.familyName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of user emails.", - "enum": null, - "in": "BODY", - "name": "emails", - "type": "object[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email address.", - "enum": null, - "in": "BODY", - "name": "emails[].value", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The type of email address.", - "enum": null, - "in": "BODY", - "name": "emails[].type", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Whether this email address is the primary address.", - "enum": null, - "in": "BODY", - "name": "emails[].primary", - "type": "boolean", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of SCIM group IDs the user is a member of.", - "enum": null, - "in": "BODY", - "name": "groups", - "type": "object[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "groups[].value", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "commit_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "path" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "position" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "side" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "line" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "start_line" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "start_side" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "in_reply_to" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Set organization access for a self-hosted runner group in an enterprise", - "scope": "enterpriseAdmin", - "id": "setOrgAccessToSelfHostedRunnerGroupInEnterprise", - "method": "PUT", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "name": "pull_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of organization IDs that can access the runner group.", - "enum": null, - "in": "BODY", - "name": "selected_organization_ids", - "type": "integer[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "review_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Set self-hosted runners in a group for an enterprise", - "scope": "enterpriseAdmin", - "id": "setSelfHostedInGroupForEnterprise", "method": "PUT", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#set-self-hosted-runners-in-a-group-for-an-enterprise", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "name": "pull_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of runner IDs to add to the runner group.", - "enum": null, - "in": "BODY", - "name": "runners", - "type": "integer[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "review_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "event" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Update an attribute for a SCIM enterprise group", - "scope": "enterpriseAdmin", - "id": "updateAttributeForEnterpriseGroup", - "method": "PATCH", - "url": "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-group", + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}", + "documentationUrl": "https://docs.github.com/v3/pulls/#get-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "pull_number" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, - "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, "in": "PATH", - "name": "scim_group_id", - "type": "string", - "required": true + "name": "pull_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, - "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).", - "enum": null, - "in": "BODY", - "name": "Operations", - "type": "object[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "review_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\",\"nullable\":true},\"displayName\":{\"type\":\"string\"},\"members\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"$ref\":{\"type\":\"string\"},\"display\":{\"type\":\"string\"}}}},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], + "previews": [], "renamed": null }, { - "name": "Update an attribute for a SCIM enterprise user", - "scope": "enterpriseAdmin", - "id": "updateAttributeForEnterpriseUser", - "method": "PATCH", - "url": "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-user", + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls", + "documentationUrl": "https://docs.github.com/v3/pulls/#list-pull-requests", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "head" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "base" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "review_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", + "documentationUrl": "https://docs.github.com/v3/pulls/#list-commits-on-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, - "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true + "name": "pull_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).", - "enum": null, - "in": "BODY", - "name": "Operations", - "type": "object[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Update a self-hosted runner group for an enterprise", - "scope": "enterpriseAdmin", - "id": "updateSelfHostedRunnerGroupForEnterprise", - "method": "PATCH", - "url": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", - "documentationUrl": "https://developer.github.com/v3/enterprise-admin/actions/#update-a-self-hosted-runner-group-for-an-enterprise", + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/files", + "documentationUrl": "https://docs.github.com/v3/pulls/#list-pull-requests-files", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The slug version of the enterprise name. You can also substitute this value with the enterprise id.", - "enum": null, "in": "PATH", - "name": "enterprise", - "type": "string", - "required": true + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Unique identifier of the self-hosted runner group.", - "enum": null, "in": "PATH", - "name": "runner_group_id", - "type": "integer", - "required": true + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Name of the runner group.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false + "in": "PATH", + "name": "pull_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Visibility of a runner group. You can select all organizations or select individual organizations. Can be one of: `all` or `selected`", - "enum": ["selected", "all"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"visibility\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"selected_organizations_url\":{\"type\":\"string\"},\"runners_url\":{\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/pulls/comments", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Check if a gist is starred", - "scope": "gists", - "id": "checkIsStarred", "method": "GET", - "url": "/gists/{gist_id}/star", - "documentationUrl": "https://developer.github.com/v3/gists/#check-if-a-gist-is-starred", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - } + "name": "pull_number" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Create a gist", - "scope": "gists", - "id": "create", - "method": "POST", - "url": "/gists", - "documentationUrl": "https://developer.github.com/v3/gists/#create-a-gist", + "method": "PUT", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", + "documentationUrl": "https://docs.github.com/v3/pulls/#merge-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The filenames and content of each file in the gist. The keys in the `files` object represent the filename and have the type `string`.", - "enum": null, - "in": "BODY", - "name": "files", - "type": "object", - "required": true + "in": "PATH", + "name": "pull_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "BODY", - "name": "files.*", - "type": "object", - "required": false + "name": "commit_title" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The content of the file.", - "enum": null, "in": "BODY", - "name": "files.*.content", - "type": "string", - "required": false + "name": "commit_message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A descriptive name for this gist.", - "enum": null, "in": "BODY", - "name": "description", - "type": "string", - "required": false + "name": "merge_method" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "reviewers" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "When `true`, the gist will be public and available for anyone to see.", - "enum": null, "in": "BODY", - "name": "public", - "type": "boolean", - "required": false + "name": "team_reviewers" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"truncated\":{\"type\":\"boolean\"},\"content\":{\"type\":\"string\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"},\"forks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}},\"history\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"version\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"change_status\":{\"type\":\"object\",\"properties\":{\"deletions\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}}},\"committed_at\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "Create a gist comment", - "scope": "gists", - "id": "createComment", "method": "POST", - "url": "/gists/{gist_id}/comments", - "documentationUrl": "https://developer.github.com/v3/gists/comments/#create-a-gist-comment", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "reviewers" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The comment text.", - "enum": null, "in": "BODY", - "name": "body", - "type": "string", - "required": true + "name": "team_reviewers" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Delete a gist", - "scope": "gists", - "id": "delete", - "method": "DELETE", - "url": "/gists/{gist_id}", - "documentationUrl": "https://developer.github.com/v3/gists/#delete-a-gist", + "method": "POST", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - } + "name": "pull_number" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "review_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "event" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a gist comment", - "scope": "gists", - "id": "deleteComment", - "method": "DELETE", - "url": "/gists/{gist_id}/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/gists/comments/#delete-a-gist-comment", + "method": "PATCH", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}", + "documentationUrl": "https://docs.github.com/v3/pulls/#update-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "pull_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "base" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "maintainer_can_modify" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Fork a gist", - "scope": "gists", - "id": "fork", - "method": "POST", - "url": "/gists/{gist_id}/forks", - "documentationUrl": "https://developer.github.com/v3/gists/#fork-a-gist", + "method": "PUT", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", + "documentationUrl": "https://docs.github.com/v3/pulls/#update-a-pull-request-branch", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "pull_number" + }, { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "expected_head_sha" } ], + "previews": [{ "name": "lydian" }], "renamed": null }, { - "name": "Get a gist", - "scope": "gists", - "id": "get", - "method": "GET", - "url": "/gists/{gist_id}", - "documentationUrl": "https://developer.github.com/v3/gists/#get-a-gist", + "method": "PUT", + "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - } + "name": "pull_number" + }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "review_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"truncated\":{\"type\":\"boolean\"},\"content\":{\"type\":\"string\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"},\"forks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}},\"history\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"version\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"change_status\":{\"type\":\"object\",\"properties\":{\"deletions\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}}},\"committed_at\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], + "previews": [], "renamed": null }, { - "name": "Get a gist comment", - "scope": "gists", - "id": "getComment", "method": "GET", - "url": "/gists/{gist_id}/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/gists/comments/#get-a-gist-comment", + "url": "/rate_limit", + "documentationUrl": "https://docs.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "parameters": [], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-a-commit-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-an-issue", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "issue_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-an-issue-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "Get a gist revision", - "scope": "gists", - "id": "getRevision", - "method": "GET", - "url": "/gists/{gist_id}/{sha}", - "documentationUrl": "https://developer.github.com/v3/gists/#get-a-gist-revision", + "method": "POST", + "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "POST", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "sha", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"truncated\":{\"type\":\"boolean\"},\"content\":{\"type\":\"string\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"},\"forks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}},\"history\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"version\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"change_status\":{\"type\":\"object\",\"properties\":{\"deletions\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}}},\"committed_at\":{\"type\":\"string\"}}}}}}" - } + "name": "comment_number" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List gists for the authenticated user", - "scope": "gists", - "id": "list", - "method": "GET", - "url": "/gists", - "documentationUrl": "https://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user", + "method": "POST", + "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false + "in": "PATH", + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "comment_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"}}}}" - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List gist comments", - "scope": "gists", - "id": "listComments", - "method": "GET", - "url": "/gists/{gist_id}/comments", - "documentationUrl": "https://developer.github.com/v3/gists/comments/#list-gist-comments", + "method": "POST", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "discussion_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "POST", + "url": "/teams/{team_id}/discussions/{discussion_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "discussion_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" } ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-a-commit-comment-reaction", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List gist commits", - "scope": "gists", - "id": "listCommits", - "method": "GET", - "url": "/gists/{gist_id}/commits", - "documentationUrl": "https://developer.github.com/v3/gists/#list-gist-commits", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-an-issue-reaction", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "issue_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"version\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"change_status\":{\"type\":\"object\",\"properties\":{\"deletions\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}}},\"committed_at\":{\"type\":\"string\"}}}}" - } + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-an-issue-comment-reaction", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List gists for a user", - "scope": "gists", - "id": "listForUser", - "method": "GET", - "url": "/users/{username}/gists", - "documentationUrl": "https://developer.github.com/v3/gists/#list-gists-for-a-user", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-a-pull-request-comment-reaction", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-team-discussion-reaction", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "username", - "type": "string", - "required": true + "name": "discussion_number" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-team-discussion-comment-reaction", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false + "in": "PATH", + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "comment_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"}}}}" - } + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/reactions/{reaction_id}", + "documentationUrl": "https://docs.github.com/v3/reactions/#delete-a-reaction-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "reaction_id" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List gist forks", - "scope": "gists", - "id": "listForks", "method": "GET", - "url": "/gists/{gist_id}/forks", - "documentationUrl": "https://developer.github.com/v3/gists/#list-gist-forks", + "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-a-commit-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-an-issue", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "issue_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-an-issue-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List public gists", - "scope": "gists", - "id": "listPublic", "method": "GET", - "url": "/gists/public", - "documentationUrl": "https://developer.github.com/v3/gists/#list-public-gists", + "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [{ "name": "squirrel-girl" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false + "in": "PATH", + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "comment_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"}}}}" - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "List starred gists", - "scope": "gists", - "id": "listStarred", "method": "GET", - "url": "/gists/starred", - "documentationUrl": "https://developer.github.com/v3/gists/#list-starred-gists", + "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false + "in": "PATH", + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "comment_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"}}}}" - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "Star a gist", - "scope": "gists", - "id": "star", - "method": "PUT", - "url": "/gists/{gist_id}/star", - "documentationUrl": "https://developer.github.com/v3/gists/#star-a-gist", + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - } + "name": "discussion_number" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [], - "headers": [], - "responses": [], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "Unstar a gist", - "scope": "gists", - "id": "unstar", - "method": "DELETE", - "url": "/gists/{gist_id}/star", - "documentationUrl": "https://developer.github.com/v3/gists/#unstar-a-gist", + "method": "GET", + "url": "/teams/{team_id}/discussions/{discussion_number}/reactions", + "documentationUrl": "https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true - } + "name": "discussion_number" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [], - "headers": [], - "responses": [], + "previews": [{ "name": "squirrel-girl" }], "renamed": null }, { - "name": "Update a gist", - "scope": "gists", - "id": "update", "method": "PATCH", - "url": "/gists/{gist_id}", - "documentationUrl": "https://developer.github.com/v3/gists/#update-a-gist", + "url": "/user/repository_invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#accept-a-repository-invitation", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "invitation_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-app-access-restrictions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-a-repository-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-status-check-contexts", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-team-access-restrictions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "teams" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "documentationUrl": "https://docs.github.com/rest/reference/repos#add-user-access-restrictions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "users" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/vulnerability-alerts", + "documentationUrl": "https://docs.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [{ "name": "dorian" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/compare/{base}...{head}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#compare-two-commits", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "base" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "head" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-commit-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "path" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "position" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "line" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-commit-signature-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + ], + "previews": [{ "name": "zzzax" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/statuses/{sha}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-commit-status", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "target_url" }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "context" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/keys", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deploy-key", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "key" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "read_only" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/deployments", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deployment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "task" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "auto_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "A descriptive name for this gist.", - "enum": null, "in": "BODY", - "name": "description", - "type": "string", - "required": false + "name": "required_contexts" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "payload" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The filenames and content that make up this gist.", - "enum": null, "in": "BODY", - "name": "files", - "type": "object", - "required": false + "name": "environment" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "BODY", - "name": "files.*", - "type": "object", - "required": false + "name": "description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The updated content of the file.", - "enum": null, "in": "BODY", - "name": "files.*.content", - "type": "string", - "required": false + "name": "transient_environment" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The new name for this file. To delete a file, set the value of the filename to `null`.", - "enum": null, "in": "BODY", - "name": "files.*.filename", - "type": "string", - "required": false - } + "name": "production_environment" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "created_at" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"git_pull_url\":{\"type\":\"string\"},\"git_push_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"files\":{\"type\":\"object\",\"additionalProperties\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"language\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"truncated\":{\"type\":\"boolean\"},\"content\":{\"type\":\"string\"}}}},\"public\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"user\":{\"nullable\":true,\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"truncated\":{\"type\":\"boolean\"},\"forks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}},\"history\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"version\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"change_status\":{\"type\":\"object\",\"properties\":{\"deletions\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}}},\"committed_at\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "Update a gist comment", - "scope": "gists", - "id": "updateComment", - "method": "PATCH", - "url": "/gists/{gist_id}/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/gists/comments/#update-a-gist-comment", + "method": "POST", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-deployment-status", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "gist_id", - "type": "string", - "required": true + "name": "deployment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "target_url" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "log_url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The comment text.", - "enum": null, "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "environment" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "environment_url" + }, + { + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "auto_inactive" } ], + "previews": [], "renamed": null }, { - "name": "Create a blob", - "scope": "git", - "id": "createBlob", "method": "POST", - "url": "/repos/{owner}/{repo}/git/blobs", - "documentationUrl": "https://developer.github.com/v3/git/blobs/#create-a-blob", + "url": "/repos/{owner}/{repo}/dispatches", + "documentationUrl": "https://docs.github.com/v3/repos/#create-a-repository-dispatch-event", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "event_type" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new blob's content.", - "enum": null, "in": "BODY", - "name": "content", - "type": "string", - "required": true + "name": "client_payload" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The encoding used for `content`. Currently, `\"utf-8\"` and `\"base64\"` are supported.", - "enum": null, "in": "BODY", - "name": "encoding", - "type": "string", - "required": false + "name": "client_payload.*" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a commit", - "scope": "git", - "id": "createCommit", "method": "POST", - "url": "/repos/{owner}/{repo}/git/commits", - "documentationUrl": "https://developer.github.com/v3/git/commits/#create-a-commit", + "url": "/user/repos", + "documentationUrl": "https://docs.github.com/v3/repos/#create-a-repository-for-the-authenticated-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "homepage" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_issues" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "has_projects" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "auto_init" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The commit message", - "enum": null, "in": "BODY", - "name": "message", - "type": "string", - "required": true + "name": "gitignore_template" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SHA of the tree object this commit points to", - "enum": null, "in": "BODY", - "name": "tree", - "type": "string", - "required": true + "name": "license_template" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided.", - "enum": null, "in": "BODY", - "name": "parents", - "type": "string[]", - "required": true + "name": "allow_squash_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details.", - "enum": null, "in": "BODY", - "name": "author", - "type": "object", - "required": false + "name": "allow_merge_commit" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the author (or committer) of the commit", - "enum": null, "in": "BODY", - "name": "author.name", - "type": "string", - "required": false + "name": "allow_rebase_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The email of the author (or committer) of the commit", - "enum": null, "in": "BODY", - "name": "author.email", - "type": "string", - "required": false + "name": "delete_branch_on_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, "in": "BODY", - "name": "author.date", - "type": "string", - "required": false + "name": "has_downloads" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "is_template" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/forks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-fork", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details.", - "enum": null, "in": "BODY", - "name": "committer", - "type": "object", - "required": false - }, + "name": "organization" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/orgs/{org}/repos", + "documentationUrl": "https://docs.github.com/v3/repos/#create-an-organization-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the author (or committer) of the commit", - "enum": null, "in": "BODY", - "name": "committer.name", - "type": "string", - "required": false + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "homepage" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_issues" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The email of the author (or committer) of the commit", - "enum": null, "in": "BODY", - "name": "committer.email", - "type": "string", - "required": false + "name": "has_projects" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, "in": "BODY", - "name": "committer.date", - "type": "string", - "required": false + "name": "is_template" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "auto_init" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits.", - "enum": null, "in": "BODY", - "name": "signature", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "gitignore_template" + }, { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a reference", - "scope": "git", - "id": "createRef", - "method": "POST", - "url": "/repos/{owner}/{repo}/git/refs", - "documentationUrl": "https://developer.github.com/v3/git/refs/#create-a-reference", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "license_template" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "in": "BODY", + "name": "allow_squash_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "allow_merge_commit" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected.", - "enum": null, "in": "BODY", - "name": "ref", - "type": "string", - "required": true + "name": "allow_rebase_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SHA1 value for this reference.", - "enum": null, "in": "BODY", - "name": "sha", - "type": "string", - "required": true + "name": "delete_branch_on_merge" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"object\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Create a tag object", - "scope": "git", - "id": "createTag", - "method": "POST", - "url": "/repos/{owner}/{repo}/git/tags", - "documentationUrl": "https://developer.github.com/v3/git/tags/#create-a-tag-object", + "method": "PUT", + "url": "/repos/{owner}/{repo}/contents/{path}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-or-update-file-contents", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "content" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "committer" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The tag's name. This is typically a version (e.g., \"v0.0.1\").", - "enum": null, "in": "BODY", - "name": "tag", - "type": "string", - "required": true + "name": "committer.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The tag message.", - "enum": null, "in": "BODY", - "name": "message", - "type": "string", - "required": true + "name": "committer.email" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SHA of the git object this is tagging.", - "enum": null, "in": "BODY", - "name": "object", - "type": "string", - "required": true + "name": "committer.date" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "author" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`.", - "enum": ["commit", "tree", "blob"], "in": "BODY", - "name": "type", - "type": "string", - "required": true + "name": "author.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "An object with information about the individual creating the tag.", - "enum": null, "in": "BODY", - "name": "tagger", - "type": "object", - "required": false + "name": "author.email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "author.date" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-github-pages-site", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "source" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the author of the tag", - "enum": null, "in": "BODY", - "name": "tagger.name", - "type": "string", - "required": false + "name": "source.branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "source.path" } + ], + "previews": [{ "name": "switcheroo" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/releases", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-release", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The email of the author of the tag", - "enum": null, "in": "BODY", - "name": "tagger.email", - "type": "string", - "required": false + "name": "target_commitish" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "When this object was tagged. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "BODY", - "name": "tagger.date", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "draft" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "prerelease" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"node_id\":{\"type\":\"string\"},\"tag\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"tagger\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"object\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Create a tree", - "scope": "git", - "id": "createTree", "method": "POST", - "url": "/repos/{owner}/{repo}/git/trees", - "documentationUrl": "https://developer.github.com/v3/git/trees/#create-a-tree", + "url": "/repos/{template_owner}/{template_repo}/generate", + "documentationUrl": "https://docs.github.com/v3/repos/#create-a-repository-using-a-template", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "owner", - "type": "string", - "required": true + "name": "template_owner" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "name": "template_repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure.", - "enum": null, "in": "BODY", - "name": "tree", - "type": "object[]", - "required": true + "name": "description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The file referenced in the tree.", - "enum": null, "in": "BODY", - "name": "tree[].path", - "type": "string", - "required": false + "name": "include_all_branches" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } + ], + "previews": [{ "name": "baptiste" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config.url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The file mode; one of `100644` for file (blob), `100755` for executable (blob), `040000` for subdirectory (tree), `160000` for submodule (commit), or `120000` for a blob that specifies the path of a symlink.", - "enum": ["100644", "100755", "040000", "160000", "120000"], "in": "BODY", - "name": "tree[].mode", - "type": "string", - "required": false + "name": "config.content_type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Either `blob`, `tree`, or `commit`.", - "enum": ["blob", "tree", "commit"], "in": "BODY", - "name": "tree[].type", - "type": "string", - "required": false + "name": "config.secret" }, { "alias": null, - "allowNull": true, "deprecated": null, - "description": "The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.", - "enum": null, "in": "BODY", - "name": "tree[].sha", - "type": "string", - "required": false + "name": "config.insecure_ssl" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`. \n \n**Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.", - "enum": null, "in": "BODY", - "name": "tree[].content", - "type": "string", - "required": false + "name": "config.token" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SHA1 of the tree you want to update with new data. If you don't set this, the commit will be created on top of everything; however, it will only contain your change, the rest of your files will show up as deleted.", - "enum": null, "in": "BODY", - "name": "base_tree", - "type": "string", - "required": false - } + "name": "config.digest" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "events" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"tree\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"mode\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "Delete a reference", - "scope": "git", - "id": "deleteRef", "method": "DELETE", - "url": "/repos/{owner}/{repo}/git/refs/{ref}", - "documentationUrl": "https://developer.github.com/v3/git/refs/#delete-a-reference", + "url": "/user/repository_invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#decline-a-repository-invitation", "parameters": [ { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "ref", - "type": "string", - "required": true + "name": "invitation_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get a blob", - "scope": "git", - "id": "getBlob", - "method": "GET", - "url": "/repos/{owner}/{repo}/git/blobs/{file_sha}", - "documentationUrl": "https://developer.github.com/v3/git/blobs/#get-a-blob", + "method": "DELETE", + "url": "/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/repos/#delete-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "file_sha", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"content\":{\"type\":\"string\"},\"encoding\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}" - } - ], "renamed": null }, { - "name": "Get a commit", - "scope": "git", - "id": "getCommit", - "method": "GET", - "url": "/repos/{owner}/{repo}/git/commits/{commit_sha}", - "documentationUrl": "https://developer.github.com/v3/git/commits/#get-a-commit", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-access-restrictions", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "commit_sha", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Get a reference", - "scope": "git", - "id": "getRef", - "method": "GET", - "url": "/repos/{owner}/{repo}/git/ref/{ref}", - "documentationUrl": "https://developer.github.com/v3/git/refs/#get-a-reference", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-admin-branch-protection", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"object\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-branch-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [], "renamed": null }, { - "name": "Get a tag", - "scope": "git", - "id": "getTag", - "method": "GET", - "url": "/repos/{owner}/{repo}/git/tags/{tag_sha}", - "documentationUrl": "https://developer.github.com/v3/git/tags/#get-a-tag", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-commit-comment", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "tag_sha", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"node_id\":{\"type\":\"string\"},\"tag\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"tagger\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"object\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-commit-signature-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [{ "name": "zzzax" }], "renamed": null }, { - "name": "Get a tree", - "scope": "git", - "id": "getTree", - "method": "GET", - "url": "/repos/{owner}/{repo}/git/trees/{tree_sha}", - "documentationUrl": "https://developer.github.com/v3/git/trees/#get-a-tree", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/keys/{key_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-deploy-key", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "tree_sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `\"true\"`, and `\"false\"`. Omit this parameter to prevent recursively returning objects or subtrees.", - "enum": null, - "in": "QUERY", - "name": "recursive", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"tree\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"mode\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"path\",\"mode\",\"type\",\"sha\",\"url\"]}},\"truncated\":{\"type\":\"boolean\"}}}" - } - ], "renamed": null }, { - "name": "List matching references", - "scope": "git", - "id": "listMatchingRefs", - "method": "GET", - "url": "/repos/{owner}/{repo}/git/matching-refs/{ref}", - "documentationUrl": "https://developer.github.com/v3/git/refs/#list-matching-references", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-deployment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "name": "deployment_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"object\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "Update a reference", - "scope": "git", - "id": "updateRef", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/git/refs/{ref}", - "documentationUrl": "https://developer.github.com/v3/git/refs/#update-a-reference", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/contents/{path}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-file", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "message" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "committer" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true + "in": "BODY", + "name": "committer.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true + "in": "BODY", + "name": "committer.email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "author" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The SHA1 value to set this reference to", - "enum": null, "in": "BODY", - "name": "sha", - "type": "string", - "required": true + "name": "author.name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.", - "enum": null, "in": "BODY", - "name": "force", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"ref\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"object\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}}}" + "name": "author.email" } ], - "renamed": null - }, - { - "name": "Get all gitignore templates", - "scope": "gitignore", - "id": "getAllTemplates", - "method": "GET", - "url": "/gitignore/templates", - "documentationUrl": "https://developer.github.com/v3/gitignore/#get-all-gitignore-templates", - "parameters": [], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"string\"}}" - } - ], "renamed": null }, { - "name": "Get a gitignore template", - "scope": "gitignore", - "id": "getTemplate", - "method": "GET", - "url": "/gitignore/templates/{name}", - "documentationUrl": "https://developer.github.com/v3/gitignore/#get-a-gitignore-template", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-repository-invitation", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "name", - "type": "string", - "required": true + "name": "invitation_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"source\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get interaction restrictions for an organization", - "scope": "interactions", - "id": "getRestrictionsForOrg", - "method": "GET", - "url": "/orgs/{org}/interaction-limits", - "documentationUrl": "https://developer.github.com/v3/interactions/orgs/#get-interaction-restrictions-for-an-organization", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-github-pages-site", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "sombra" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.sombra-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"string\"},\"origin\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [{ "name": "switcheroo" }], "renamed": null }, { - "name": "Get interaction restrictions for a repository", - "scope": "interactions", - "id": "getRestrictionsForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/interaction-limits", - "documentationUrl": "https://developer.github.com/v3/interactions/repos/#get-interaction-restrictions-for-a-repository", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "sombra" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.sombra-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"string\"},\"origin\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [], "renamed": null }, { - "name": "Remove interaction restrictions for an organization", - "scope": "interactions", - "id": "removeRestrictionsForOrg", "method": "DELETE", - "url": "/orgs/{org}/interaction-limits", - "documentationUrl": "https://developer.github.com/v3/interactions/orgs/#remove-interaction-restrictions-for-an-organization", + "url": "/repos/{owner}/{repo}/releases/{release_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-release", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "sombra" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.sombra-preview+json", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" } ], - "responses": [], + "previews": [], "renamed": null }, { - "name": "Remove interaction restrictions for a repository", - "scope": "interactions", - "id": "removeRestrictionsForRepo", "method": "DELETE", - "url": "/repos/{owner}/{repo}/interaction-limits", - "documentationUrl": "https://developer.github.com/v3/interactions/repos/#remove-interaction-restrictions-for-a-repository", + "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-release-asset", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "sombra" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.sombra-preview+json", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" } ], - "responses": [], + "previews": [], "renamed": null }, { - "name": "Set interaction restrictions for an organization", - "scope": "interactions", - "id": "setRestrictionsForOrg", - "method": "PUT", - "url": "/orgs/{org}/interaction-limits", - "documentationUrl": "https://developer.github.com/v3/interactions/orgs/#set-interaction-restrictions-for-an-organization", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-repository-webhook", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies the group of GitHub users who can comment, open issues, or create pull requests in public repositories for the given organization. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`.", - "enum": ["existing_users", "contributors_only", "collaborators_only"], - "in": "BODY", - "name": "limit", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "sombra" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.sombra-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"string\"},\"origin\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], + "previews": [], "renamed": null }, { - "name": "Set interaction restrictions for a repository", - "scope": "interactions", - "id": "setRestrictionsForRepo", - "method": "PUT", - "url": "/repos/{owner}/{repo}/interaction-limits", - "documentationUrl": "https://developer.github.com/v3/interactions/repos/#set-interaction-restrictions-for-a-repository", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/automated-security-fixes", + "documentationUrl": "https://docs.github.com/v3/repos/#disable-automated-security-fixes", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies the group of GitHub users who can comment, open issues, or create pull requests for the given repository. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`.", - "enum": ["existing_users", "contributors_only", "collaborators_only"], - "in": "BODY", - "name": "limit", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "sombra" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.sombra-preview+json", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"string\"},\"origin\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } + "previews": [{ "name": "london" }], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/vulnerability-alerts", + "documentationUrl": "https://docs.github.com/v3/repos/#disable-vulnerability-alerts", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [{ "name": "dorian" }], "renamed": null }, { - "name": "Add assignees to an issue", - "scope": "issues", - "id": "addAssignees", - "method": "POST", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "documentationUrl": "https://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue", + "method": "GET", + "url": "/repos/{owner}/{repo}/tarball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._", - "enum": null, - "in": "BODY", - "name": "assignees", - "type": "string[]", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Add labels to an issue", - "scope": "issues", - "id": "addLabels", - "method": "POST", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue", + "method": "GET", + "url": "/repos/{owner}/{repo}/zipball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the label to add to the issue. Must contain at least one label. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.", - "enum": null, - "in": "BODY", - "name": "labels", - "type": "string[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "Check if a user can be assigned", - "scope": "issues", - "id": "checkUserCanBeAssigned", "method": "GET", - "url": "/repos/{owner}/{repo}/assignees/{assignee}", - "documentationUrl": "https://developer.github.com/v3/issues/assignees/#check-if-a-user-can-be-assigned", + "url": "/repos/{owner}/{repo}/tarball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "assignee", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "headers": [], - "responses": [], - "renamed": null + "renamed": { + "note": "\"repos/downloadArchive\" operation ID is now \"repos/downloadTarballArchive\"" + } }, { - "name": "Create an issue", - "scope": "issues", - "id": "create", - "method": "POST", - "url": "/repos/{owner}/{repo}/issues", - "documentationUrl": "https://developer.github.com/v3/issues/#create-an-issue", + "method": "GET", + "url": "/repos/{owner}/{repo}/zipball/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#download-a-repository-archive", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the issue.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the issue.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_", - "enum": null, - "in": "BODY", - "name": "assignee", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._", - "enum": null, - "in": "BODY", - "name": "milestone", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._", - "enum": null, - "in": "BODY", - "name": "labels", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", - "enum": null, - "in": "BODY", - "name": "assignees", - "type": "string[]", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_by\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } + "renamed": { + "note": "\"repos/downloadArchive\" operation ID is now \"repos/downloadZipballArchive\"" + } + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/automated-security-fixes", + "documentationUrl": "https://docs.github.com/v3/repos/#enable-automated-security-fixes", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [{ "name": "london" }], "renamed": null }, { - "name": "Create an issue comment", - "scope": "issues", - "id": "createComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "documentationUrl": "https://developer.github.com/v3/issues/comments/#create-an-issue-comment", + "method": "PUT", + "url": "/repos/{owner}/{repo}/vulnerability-alerts", + "documentationUrl": "https://docs.github.com/v3/repos/#enable-vulnerability-alerts", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the comment.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [{ "name": "dorian" }], "renamed": null }, { - "name": "Create a label", - "scope": "issues", - "id": "createLabel", - "method": "POST", - "url": "/repos/{owner}/{repo}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#create-a-label", + "method": "GET", + "url": "/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/repos/#get-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.", - "enum": null, - "in": "BODY", - "name": "color", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the label.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-access-restrictions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [], "renamed": null }, { - "name": "Create a milestone", - "scope": "issues", - "id": "createMilestone", - "method": "POST", - "url": "/repos/{owner}/{repo}/milestones", - "documentationUrl": "https://developer.github.com/v3/issues/milestones/#create-a-milestone", + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-admin-branch-protection", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the milestone.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The state of the milestone. Either `open` or `closed`.", - "enum": ["open", "closed"], - "in": "BODY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A description of the milestone.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "BODY", - "name": "due_on", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-status-check-contexts", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [], "renamed": null }, { - "name": "Delete an issue comment", - "scope": "issues", - "id": "deleteComment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/issues/comments/#delete-an-issue-comment", + "method": "GET", + "url": "/repos/{owner}/{repo}/topics", + "documentationUrl": "https://docs.github.com/v3/repos/#get-all-repository-topics", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [{ "name": "mercy" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a label", - "scope": "issues", - "id": "deleteLabel", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/labels/{name}", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#delete-a-label", + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-branch", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a milestone", - "scope": "issues", - "id": "deleteMilestone", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "documentationUrl": "https://developer.github.com/v3/issues/milestones/#delete-a-milestone", + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-branch-protection", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "milestone_number", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get an issue", - "scope": "issues", - "id": "get", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}", - "documentationUrl": "https://developer.github.com/v3/issues/#get-an-issue", + "url": "/repos/{owner}/{repo}/traffic/clones", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-repository-clones", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_by\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/stats/code_frequency", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "Get an issue comment", - "scope": "issues", - "id": "getComment", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/issues/comments/#get-an-issue-comment", + "url": "/repos/{owner}/{repo}/collaborators/{username}/permission", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/commits/{ref}/status", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], + "previews": [], "renamed": null }, { - "name": "Get an issue event", - "scope": "issues", - "id": "getEvent", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/events/{event_id}", - "documentationUrl": "https://developer.github.com/v3/issues/events/#get-an-issue-event", + "url": "/repos/{owner}/{repo}/commits/{ref}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-commit", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "event_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"actor\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"event\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"},\"commit_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"issue\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/stats/commit_activity", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "Get a label", - "scope": "issues", - "id": "getLabel", "method": "GET", - "url": "/repos/{owner}/{repo}/labels/{name}", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#get-a-label", + "url": "/repos/{owner}/{repo}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-commit-comment", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "name", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-commit-signature-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [{ "name": "zzzax" }], "renamed": null }, { - "name": "Get a milestone", - "scope": "issues", - "id": "getMilestone", "method": "GET", - "url": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "documentationUrl": "https://developer.github.com/v3/issues/milestones/#get-a-milestone", + "url": "/repos/{owner}/{repo}/community/profile", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-community-profile-metrics", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/contents/{path}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-repository-content", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "path" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/stats/contributors", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/keys/{key_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deploy-key", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deployment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "milestone_number", - "type": "integer", - "required": true + "name": "deployment_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "List issues assigned to the authenticated user", - "scope": "issues", - "id": "list", "method": "GET", - "url": "/issues", - "documentationUrl": "https://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-deployment-status", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation", - "enum": ["assigned", "created", "mentioned", "subscribed", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of comma separated label names. Example: `bug,ui,@high`", - "enum": null, - "in": "QUERY", - "name": "labels", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "What to sort results by. Can be either `created`, `updated`, `comments`.", - "enum": ["created", "updated", "comments"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The direction of the sort. Can be either `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "deployment_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "status_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], "renamed": null }, { - "name": "List assignees", - "scope": "issues", - "id": "listAssignees", "method": "GET", - "url": "/repos/{owner}/{repo}/assignees", - "documentationUrl": "https://developer.github.com/v3/issues/assignees/#list-assignees", + "url": "/repos/{owner}/{repo}/pages/builds/latest", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-latest-pages-build", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List issue comments", - "scope": "issues", - "id": "listComments", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/comments", - "documentationUrl": "https://developer.github.com/v3/issues/comments/#list-issue-comments", + "url": "/repos/{owner}/{repo}/releases/latest", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-latest-release", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List issue comments for a repository", - "scope": "issues", - "id": "listCommentsForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/comments", - "documentationUrl": "https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-github-pages-site", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `created` or `updated`.", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `asc` or `desc`. Ignored without the `sort` parameter.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List issue events", - "scope": "issues", - "id": "listEvents", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/events", - "documentationUrl": "https://developer.github.com/v3/issues/events/#list-issue-events", + "url": "/repos/{owner}/{repo}/pages/builds/{build_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-github-pages-build", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "build_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"actor\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"event\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"},\"commit_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/stats/participation", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "List issue events for a repository", - "scope": "issues", - "id": "listEventsForRepo", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/events", - "documentationUrl": "https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-pull-request-review-protection", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"actor\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"event\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"},\"commit_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"issue\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/stats/punch_card", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "List timeline events for an issue", - "scope": "issues", - "id": "listEventsForTimeline", "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/timeline", - "documentationUrl": "https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue", + "url": "/repos/{owner}/{repo}/readme", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository-readme", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" } ], - "previews": [{ "name": "mockingbird" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.mockingbird-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/releases/{release_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"actor\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"event\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"},\"commit_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release-asset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" } ], + "previews": [], "renamed": null }, { - "name": "List user account issues assigned to the authenticated user", - "scope": "issues", - "id": "listForAuthenticatedUser", "method": "GET", - "url": "/user/issues", - "documentationUrl": "https://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "url": "/repos/{owner}/{repo}/releases/tags/{tag}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation", - "enum": ["assigned", "created", "mentioned", "subscribed", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of comma separated label names. Example: `bug,ui,@high`", - "enum": null, - "in": "QUERY", - "name": "labels", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "What to sort results by. Can be either `created`, `updated`, `comments`.", - "enum": ["created", "updated", "comments"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The direction of the sort. Can be either `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization issues assigned to the authenticated user", - "scope": "issues", - "id": "listForOrg", - "method": "GET", - "url": "/orgs/{org}/issues", - "documentationUrl": "https://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates which sorts of issues to return. Can be one of: \n\\* `assigned`: Issues assigned to you \n\\* `created`: Issues created by you \n\\* `mentioned`: Issues mentioning you \n\\* `subscribed`: Issues you're subscribed to updates for \n\\* `all`: All issues the authenticated user can see, regardless of participation or creation", - "enum": ["assigned", "created", "mentioned", "subscribed", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of comma separated label names. Example: `bug,ui,@high`", - "enum": null, - "in": "QUERY", - "name": "labels", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "What to sort results by. Can be either `created`, `updated`, `comments`.", - "enum": ["created", "updated", "comments"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The direction of the sort. Can be either `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository issues", - "scope": "issues", - "id": "listForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/issues", - "documentationUrl": "https://developer.github.com/v3/issues/#list-repository-issues", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned.", - "enum": null, - "in": "QUERY", - "name": "milestone", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user.", - "enum": null, - "in": "QUERY", - "name": "assignee", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The user that created the issue.", - "enum": null, - "in": "QUERY", - "name": "creator", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A user that's mentioned in the issue.", - "enum": null, - "in": "QUERY", - "name": "mentioned", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of comma separated label names. Example: `bug,ui,@high`", - "enum": null, - "in": "QUERY", - "name": "labels", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "What to sort results by. Can be either `created`, `updated`, `comments`.", - "enum": ["created", "updated", "comments"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The direction of the sort. Can be either `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List labels for issues in a milestone", - "scope": "issues", - "id": "listLabelsForMilestone", - "method": "GET", - "url": "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "milestone_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List labels for a repository", - "scope": "issues", - "id": "listLabelsForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List labels for an issue", - "scope": "issues", - "id": "listLabelsOnIssue", - "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List milestones", - "scope": "issues", - "id": "listMilestones", - "method": "GET", - "url": "/repos/{owner}/{repo}/milestones", - "documentationUrl": "https://developer.github.com/v3/issues/milestones/#list-milestones", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The state of the milestone. Either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "What to sort results by. Either `due_on` or `completeness`.", - "enum": ["due_on", "completeness"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The direction of the sort. Either `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Lock an issue", - "scope": "issues", - "id": "lock", - "method": "PUT", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "documentationUrl": "https://developer.github.com/v3/issues/#lock-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: \n\\* `off-topic` \n\\* `too heated` \n\\* `resolved` \n\\* `spam`", - "enum": ["off-topic", "too heated", "resolved", "spam"], - "in": "BODY", - "name": "lock_reason", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove all labels from an issue", - "scope": "issues", - "id": "removeAllLabels", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove assignees from an issue", - "scope": "issues", - "id": "removeAssignees", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/assignees", - "documentationUrl": "https://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._", - "enum": null, - "in": "BODY", - "name": "assignees", - "type": "string[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Remove a label from an issue", - "scope": "issues", - "id": "removeLabel", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "name", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Set labels for an issue", - "scope": "issues", - "id": "setLabels", - "method": "PUT", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/labels", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#set-labels-for-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key.", - "enum": null, - "in": "BODY", - "name": "labels", - "type": "string[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Unlock an issue", - "scope": "issues", - "id": "unlock", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/lock", - "documentationUrl": "https://developer.github.com/v3/issues/#unlock-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Update an issue", - "scope": "issues", - "id": "update", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/issues/{issue_number}", - "documentationUrl": "https://developer.github.com/v3/issues/#update-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the issue.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the issue.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Login for the user that this issue should be assigned to. **This field is deprecated.**", - "enum": null, - "in": "BODY", - "name": "assignee", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "State of the issue. Either `open` or `closed`.", - "enum": ["open", "closed"], - "in": "BODY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._", - "enum": null, - "in": "BODY", - "name": "milestone", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Labels to associate with this issue. Pass one or more Labels to _replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue. _NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._", - "enum": null, - "in": "BODY", - "name": "labels", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Logins for Users to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this Issue. Send an empty array (`[]`) to clear all assignees from the Issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._", - "enum": null, - "in": "BODY", - "name": "assignees", - "type": "string[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"locked\":{\"type\":\"boolean\"},\"active_lock_reason\":{\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"}}},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_by\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update an issue comment", - "scope": "issues", - "id": "updateComment", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/issues/comments/#update-an-issue-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the comment.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a label", - "scope": "issues", - "id": "updateLabel", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/labels/{name}", - "documentationUrl": "https://developer.github.com/v3/issues/labels/#update-a-label", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/).", - "enum": null, - "in": "BODY", - "name": "new_name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.", - "enum": null, - "in": "BODY", - "name": "color", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the label.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a milestone", - "scope": "issues", - "id": "updateMilestone", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/milestones/{milestone_number}", - "documentationUrl": "https://developer.github.com/v3/issues/milestones/#update-a-milestone", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "milestone_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the milestone.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The state of the milestone. Either `open` or `closed`.", - "enum": ["open", "closed"], - "in": "BODY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A description of the milestone.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "BODY", - "name": "due_on", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a license", - "scope": "licenses", - "id": "get", - "method": "GET", - "url": "/licenses/{license}", - "documentationUrl": "https://developer.github.com/v3/licenses/#get-a-license", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "license", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"implementation\":{\"type\":\"string\"},\"permissions\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"conditions\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"limitations\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"body\":{\"type\":\"string\"},\"featured\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get all commonly used licenses", - "scope": "licenses", - "id": "getAllCommonlyUsed", - "method": "GET", - "url": "/licenses", - "documentationUrl": "https://developer.github.com/v3/licenses/#get-all-commonly-used-licenses", - "parameters": [], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get the license for a repository", - "scope": "licenses", - "id": "getForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/license", - "documentationUrl": "https://developer.github.com/v3/licenses/#get-the-license-for-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"download_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"encoding\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"string\"},\"git\":{\"type\":\"string\"},\"html\":{\"type\":\"string\"}}},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Render a Markdown document", - "scope": "markdown", - "id": "render", - "method": "POST", - "url": "/markdown", - "documentationUrl": "https://developer.github.com/v3/markdown/#render-a-markdown-document", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The Markdown text to render in HTML. Markdown content must be 400 KB or less.", - "enum": null, - "in": "BODY", - "name": "text", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The rendering mode. Can be either: \n\\* `markdown` to render a document in plain Markdown, just like README.md files are rendered. \n\\* `gfm` to render a document in [GitHub Flavored Markdown](https://github.github.com/gfm/), which creates links for user mentions as well as references to SHA-1 hashes, issues, and pull requests.", - "enum": ["markdown", "gfm"], - "in": "BODY", - "name": "mode", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The repository context to use when creating references in `gfm` mode. Omit this parameter when using `markdown` mode.", - "enum": null, - "in": "BODY", - "name": "context", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Render a Markdown document in raw mode", - "scope": "markdown", - "id": "renderRaw", - "method": "POST", - "url": "/markdown/raw", - "documentationUrl": "https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "data parameter", - "enum": null, - "in": "BODY", - "name": "data", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [ - { - "name": "content-type", - "value": "text/plain; charset=utf-8", - "required": false - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Get GitHub meta information", - "scope": "meta", - "id": "get", - "method": "GET", - "url": "/meta", - "documentationUrl": "https://developer.github.com/v3/meta/#get-github-meta-information", - "parameters": [], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"verifiable_password_authentication\":{\"type\":\"boolean\"},\"ssh_key_fingerprints\":{\"type\":\"object\",\"properties\":{\"MD5_RSA\":{\"type\":\"string\"},\"MD5_DSA\":{\"type\":\"string\"},\"SHA256_RSA\":{\"type\":\"string\"},\"SHA256_DSA\":{\"type\":\"string\"}}},\"hooks\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"web\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"api\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"git\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"pages\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"importer\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Cancel an import", - "scope": "migrations", - "id": "cancelImport", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#cancel-an-import", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a user migration archive", - "scope": "migrations", - "id": "deleteArchiveForAuthenticatedUser", - "method": "DELETE", - "url": "/user/migrations/{migration_id}/archive", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#delete-a-user-migration-archive", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete an organization migration archive", - "scope": "migrations", - "id": "deleteArchiveForOrg", - "method": "DELETE", - "url": "/orgs/{org}/migrations/{migration_id}/archive", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#delete-an-organization-migration-archive", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Download an organization migration archive", - "scope": "migrations", - "id": "downloadArchiveForOrg", - "method": "GET", - "url": "/orgs/{org}/migrations/{migration_id}/archive", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#download-an-organization-migration-archive", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Download a user migration archive", - "scope": "migrations", - "id": "getArchiveForAuthenticatedUser", - "method": "GET", - "url": "/user/migrations/{migration_id}/archive", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Get commit authors", - "scope": "migrations", - "id": "getCommitAuthors", - "method": "GET", - "url": "/repos/{owner}/{repo}/import/authors", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#get-commit-authors", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only authors found after this id are returned. Provide the highest author ID you've seen so far. New authors may be added to the list at any point while the importer is performing the `raw` step.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"remote_id\":{\"type\":\"string\"},\"remote_name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"import_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get an import status", - "scope": "migrations", - "id": "getImportStatus", - "method": "GET", - "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#get-an-import-status", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"vcs\":{\"type\":\"string\"},\"use_lfs\":{\"type\":\"string\"},\"vcs_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"status_text\":{\"type\":\"string\"},\"has_large_files\":{\"type\":\"boolean\"},\"large_files_size\":{\"type\":\"number\"},\"large_files_count\":{\"type\":\"number\"},\"authors_count\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"authors_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get large files", - "scope": "migrations", - "id": "getLargeFiles", - "method": "GET", - "url": "/repos/{owner}/{repo}/import/large_files", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#get-large-files", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"ref_name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"oid\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a user migration status", - "scope": "migrations", - "id": "getStatusForAuthenticatedUser", - "method": "GET", - "url": "/user/migrations/{migration_id}", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#get-a-user-migration-status", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"guid\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"lock_repositories\":{\"type\":\"boolean\"},\"exclude_attachments\":{\"type\":\"boolean\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get an organization migration status", - "scope": "migrations", - "id": "getStatusForOrg", - "method": "GET", - "url": "/orgs/{org}/migrations/{migration_id}", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#get-an-organization-migration-status", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "* `pending`, which means the migration hasn't started yet.\n* `exporting`, which means the migration is in progress.\n* `exported`, which means the migration finished successfully.\n* `failed`, which means the migration failed.", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"guid\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"lock_repositories\":{\"type\":\"boolean\"},\"exclude_attachments\":{\"type\":\"boolean\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "List user migrations", - "scope": "migrations", - "id": "listForAuthenticatedUser", - "method": "GET", - "url": "/user/migrations", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#list-user-migrations", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"guid\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"lock_repositories\":{\"type\":\"boolean\"},\"exclude_attachments\":{\"type\":\"boolean\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization migrations", - "scope": "migrations", - "id": "listForOrg", - "method": "GET", - "url": "/orgs/{org}/migrations", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#list-organization-migrations", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"guid\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"lock_repositories\":{\"type\":\"boolean\"},\"exclude_attachments\":{\"type\":\"boolean\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories in an organization migration", - "scope": "migrations", - "id": "listReposForOrg", - "method": "GET", - "url": "/orgs/{org}/migrations/{migration_id}/repositories", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories for a user migration", - "scope": "migrations", - "id": "listReposForUser", - "method": "GET", - "url": "/user/migrations/{migration_id}/repositories", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Map a commit author", - "scope": "migrations", - "id": "mapCommitAuthor", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/import/authors/{author_id}", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#map-a-commit-author", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "author_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new Git author email.", - "enum": null, - "in": "BODY", - "name": "email", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new Git author name.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"remote_id\":{\"type\":\"string\"},\"remote_name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"import_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update Git LFS preference", - "scope": "migrations", - "id": "setLfsPreference", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/import/lfs", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#update-git-lfs-preference", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `opt_in` (large files will be stored using Git LFS) or `opt_out` (large files will be removed during the import).", - "enum": ["opt_in", "opt_out"], - "in": "BODY", - "name": "use_lfs", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"vcs\":{\"type\":\"string\"},\"use_lfs\":{\"type\":\"string\"},\"vcs_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"status_text\":{\"type\":\"string\"},\"has_large_files\":{\"type\":\"boolean\"},\"large_files_size\":{\"type\":\"number\"},\"large_files_count\":{\"type\":\"number\"},\"authors_count\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"authors_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Start a user migration", - "scope": "migrations", - "id": "startForAuthenticatedUser", - "method": "POST", - "url": "/user/migrations", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#start-a-user-migration", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of repositories to include in the migration.", - "enum": null, - "in": "BODY", - "name": "repositories", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Locks the `repositories` to prevent changes during the migration when set to `true`.", - "enum": null, - "in": "BODY", - "name": "lock_repositories", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Does not include attachments uploaded to GitHub.com in the migration data when set to `true`. Excluding attachments will reduce the migration archive file size.", - "enum": null, - "in": "BODY", - "name": "exclude_attachments", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"guid\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"lock_repositories\":{\"type\":\"boolean\"},\"exclude_attachments\":{\"type\":\"boolean\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Start an organization migration", - "scope": "migrations", - "id": "startForOrg", - "method": "POST", - "url": "/orgs/{org}/migrations", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#start-an-organization-migration", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of arrays indicating which repositories should be migrated.", - "enum": null, - "in": "BODY", - "name": "repositories", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates whether repositories should be locked (to prevent manipulation) while migrating data.", - "enum": null, - "in": "BODY", - "name": "lock_repositories", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).", - "enum": null, - "in": "BODY", - "name": "exclude_attachments", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"guid\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"lock_repositories\":{\"type\":\"boolean\"},\"exclude_attachments\":{\"type\":\"boolean\"},\"repositories\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Start an import", - "scope": "migrations", - "id": "startImport", - "method": "PUT", - "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#start-an-import", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The URL of the originating repository.", - "enum": null, - "in": "BODY", - "name": "vcs_url", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The originating VCS type. Can be one of `subversion`, `git`, `mercurial`, or `tfvc`. Please be aware that without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response.", - "enum": ["subversion", "git", "mercurial", "tfvc"], - "in": "BODY", - "name": "vcs", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If authentication is required, the username to provide to `vcs_url`.", - "enum": null, - "in": "BODY", - "name": "vcs_username", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If authentication is required, the password to provide to `vcs_url`.", - "enum": null, - "in": "BODY", - "name": "vcs_password", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "For a tfvc import, the name of the project that is being imported.", - "enum": null, - "in": "BODY", - "name": "tfvc_project", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"vcs\":{\"type\":\"string\"},\"use_lfs\":{\"type\":\"string\"},\"vcs_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"status_text\":{\"type\":\"string\"},\"has_large_files\":{\"type\":\"boolean\"},\"large_files_size\":{\"type\":\"number\"},\"large_files_count\":{\"type\":\"number\"},\"authors_count\":{\"type\":\"number\"},\"percent\":{\"type\":\"number\"},\"commit_count\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"authors_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"tfvc_project\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Unlock a user repository", - "scope": "migrations", - "id": "unlockRepoForAuthenticatedUser", - "method": "DELETE", - "url": "/user/migrations/{migration_id}/repos/{repo_name}/lock", - "documentationUrl": "https://developer.github.com/v3/migrations/users/#unlock-a-user-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo_name", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Unlock an organization repository", - "scope": "migrations", - "id": "unlockRepoForOrg", - "method": "DELETE", - "url": "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", - "documentationUrl": "https://developer.github.com/v3/migrations/orgs/#unlock-an-organization-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "migration_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo_name", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "wyandotte" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.wyandotte-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Update an import", - "scope": "migrations", - "id": "updateImport", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/import", - "documentationUrl": "https://developer.github.com/v3/migrations/source_imports/#update-an-import", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The username to provide to the originating repository.", - "enum": null, - "in": "BODY", - "name": "vcs_username", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The password to provide to the originating repository.", - "enum": null, - "in": "BODY", - "name": "vcs_password", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"vcs\":{\"type\":\"string\"},\"use_lfs\":{\"type\":\"string\"},\"vcs_url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"status_text\":{\"type\":\"string\"},\"has_large_files\":{\"type\":\"boolean\"},\"large_files_size\":{\"type\":\"number\"},\"large_files_count\":{\"type\":\"number\"},\"authors_count\":{\"type\":\"number\"},\"percent\":{\"type\":\"number\"},\"commit_count\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"authors_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"tfvc_project\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a new authorization", - "scope": "oauthAuthorizations", - "id": "createAuthorization", - "method": "POST", - "url": "/authorizations", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of scopes that this authorization is in.", - "enum": null, - "in": "BODY", - "name": "scopes", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note.", - "enum": null, - "in": "BODY", - "name": "note", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL to remind you what app the OAuth token is for.", - "enum": null, - "in": "BODY", - "name": "note_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The 20 character OAuth app client key for which to create the token.", - "enum": null, - "in": "BODY", - "name": "client_id", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The 40 character OAuth app client secret for which to create the token.", - "enum": null, - "in": "BODY", - "name": "client_secret", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A unique string to distinguish an authorization from others created for the same client ID and user.", - "enum": null, - "in": "BODY", - "name": "fingerprint", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete an authorization", - "scope": "oauthAuthorizations", - "id": "deleteAuthorization", - "method": "DELETE", - "url": "/authorizations/{authorization_id}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "authorization_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a grant", - "scope": "oauthAuthorizations", - "id": "deleteGrant", - "method": "DELETE", - "url": "/applications/grants/{grant_id}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#delete-a-grant", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "grant_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Get a single authorization", - "scope": "oauthAuthorizations", - "id": "getAuthorization", - "method": "GET", - "url": "/authorizations/{authorization_id}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "authorization_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a single grant", - "scope": "oauthAuthorizations", - "id": "getGrant", - "method": "GET", - "url": "/applications/grants/{grant_id}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "grant_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get-or-create an authorization for a specific app", - "scope": "oauthAuthorizations", - "id": "getOrCreateAuthorizationForApp", - "method": "PUT", - "url": "/authorizations/clients/{client_id}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The 40 character OAuth app client secret associated with the client ID specified in the URL.", - "enum": null, - "in": "BODY", - "name": "client_secret", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of scopes that this authorization is in.", - "enum": null, - "in": "BODY", - "name": "scopes", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A note to remind you what the OAuth token is for.", - "enum": null, - "in": "BODY", - "name": "note", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL to remind you what app the OAuth token is for.", - "enum": null, - "in": "BODY", - "name": "note_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to [Get-or-create an authorization for a specific app and fingerprint](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint).", - "enum": null, - "in": "BODY", - "name": "fingerprint", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if returning an existing token", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - }, - { - "code": 201, - "description": "**Deprecation Notice:** GitHub will discontinue the [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/), which is used by integrations to create personal access tokens and OAuth tokens, and you must now create these tokens using our [web application flow](https://developer.github.com/apps/building-oauth-apps/authorizing-oauth-apps/#web-application-flow). The [OAuth Authorizations API](https://developer.github.com/v3/oauth_authorizations/) will be removed on November, 13, 2020. For more information, including scheduled brownouts, see the [blog post](https://developer.github.com/changes/2020-02-14-deprecating-oauth-auth-endpoint/).", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get-or-create an authorization for a specific app and fingerprint", - "scope": "oauthAuthorizations", - "id": "getOrCreateAuthorizationForAppAndFingerprint", - "method": "PUT", - "url": "/authorizations/clients/{client_id}/{fingerprint}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "client_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "fingerprint", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The 40 character OAuth app client secret associated with the client ID specified in the URL.", - "enum": null, - "in": "BODY", - "name": "client_secret", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of scopes that this authorization is in.", - "enum": null, - "in": "BODY", - "name": "scopes", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A note to remind you what the OAuth token is for.", - "enum": null, - "in": "BODY", - "name": "note", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL to remind you what app the OAuth token is for.", - "enum": null, - "in": "BODY", - "name": "note_url", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if returning an existing token", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - }, - { - "code": 201, - "description": "Response if returning a new token", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "List your authorizations", - "scope": "oauthAuthorizations", - "id": "listAuthorizations", - "method": "GET", - "url": "/authorizations", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List your grants", - "scope": "oauthAuthorizations", - "id": "listGrants", - "method": "GET", - "url": "/applications/grants", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#list-your-grants", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update an existing authorization", - "scope": "oauthAuthorizations", - "id": "updateAuthorization", - "method": "PATCH", - "url": "/authorizations/{authorization_id}", - "documentationUrl": "https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "authorization_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Replaces the authorization scopes with these.", - "enum": null, - "in": "BODY", - "name": "scopes", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of scopes to add to this authorization.", - "enum": null, - "in": "BODY", - "name": "add_scopes", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A list of scopes to remove from this authorization.", - "enum": null, - "in": "BODY", - "name": "remove_scopes", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note.", - "enum": null, - "in": "BODY", - "name": "note", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL to remind you what app the OAuth token is for.", - "enum": null, - "in": "BODY", - "name": "note_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A unique string to distinguish an authorization from others created for the same client ID and user.", - "enum": null, - "in": "BODY", - "name": "fingerprint", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"token\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"hashed_token\":{\"type\":\"string\"},\"app\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"client_id\":{\"type\":\"string\"}}},\"note\":{\"nullable\":true,\"type\":\"string\"},\"note_url\":{\"nullable\":true,\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"fingerprint\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Block a user from an organization", - "scope": "orgs", - "id": "blockUser", - "method": "PUT", - "url": "/orgs/{org}/blocks/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/blocking/#block-a-user-from-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Check if a user is blocked by an organization", - "scope": "orgs", - "id": "checkBlockedUser", - "method": "GET", - "url": "/orgs/{org}/blocks/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/blocking/#check-if-a-user-is-blocked-by-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Check organization membership for a user", - "scope": "orgs", - "id": "checkMembershipForUser", - "method": "GET", - "url": "/orgs/{org}/members/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#check-organization-membership-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Check public organization membership for a user", - "scope": "orgs", - "id": "checkPublicMembershipForUser", - "method": "GET", - "url": "/orgs/{org}/public_members/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#check-public-organization-membership-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Convert an organization member to outside collaborator", - "scope": "orgs", - "id": "convertMemberToOutsideCollaborator", - "method": "PUT", - "url": "/orgs/{org}/outside_collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/outside_collaborators/#convert-an-organization-member-to-outside-collaborator", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 403, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create an organization invitation", - "scope": "orgs", - "id": "createInvitation", - "method": "POST", - "url": "/orgs/{org}/invitations", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#create-an-organization-invitation", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required unless you provide `email`**. GitHub user ID for the person you are inviting.", - "enum": null, - "in": "BODY", - "name": "invitee_id", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user.", - "enum": null, - "in": "BODY", - "name": "email", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify role for new member. Can be one of: \n\\* `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. \n\\* `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. \n\\* `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization.", - "enum": ["admin", "direct_member", "billing_manager"], - "in": "BODY", - "name": "role", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify IDs for the teams you want to invite new members to.", - "enum": null, - "in": "BODY", - "name": "team_ids", - "type": "integer[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"team_count\":{\"type\":\"number\"},\"invitation_team_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create an organization webhook", - "scope": "orgs", - "id": "createWebhook", - "method": "POST", - "url": "/orgs/{org}/hooks", - "documentationUrl": "https://developer.github.com/v3/orgs/hooks/#create-an-organization-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Must be passed as \"web\".", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#create-hook-config-params).", - "enum": null, - "in": "BODY", - "name": "config", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The URL to which the payloads will be delivered.", - "enum": null, - "in": "BODY", - "name": "config.url", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", - "enum": null, - "in": "BODY", - "name": "config.content_type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://developer.github.com/webhooks/event-payloads/#delivery-headers) header.", - "enum": null, - "in": "BODY", - "name": "config.secret", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "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.**", - "enum": null, - "in": "BODY", - "name": "config.insecure_ssl", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for.", - "enum": null, - "in": "BODY", - "name": "events", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", - "enum": null, - "in": "BODY", - "name": "active", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"active\":{\"type\":\"boolean\"},\"config\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete an organization webhook", - "scope": "orgs", - "id": "deleteWebhook", - "method": "DELETE", - "url": "/orgs/{org}/hooks/{hook_id}", - "documentationUrl": "https://developer.github.com/v3/orgs/hooks/#delete-an-organization-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Get an organization", - "scope": "orgs", - "id": "get", - "method": "GET", - "url": "/orgs/{org}", - "documentationUrl": "https://developer.github.com/v3/orgs/#get-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"total_private_repos\":{\"type\":\"number\"},\"owned_private_repos\":{\"type\":\"number\"},\"private_gists\":{\"type\":\"number\"},\"disk_usage\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"},\"billing_email\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"space\":{\"type\":\"number\"},\"private_repos\":{\"type\":\"number\"},\"seats\":{\"type\":\"number\"},\"filled_seats\":{\"type\":\"number\"}}},\"default_repository_permission\":{\"type\":\"string\"},\"members_can_create_repositories\":{\"type\":\"boolean\"},\"two_factor_requirement_enabled\":{\"type\":\"boolean\"},\"members_allowed_repository_creation_type\":{\"type\":\"string\"},\"members_can_create_public_repositories\":{\"type\":\"boolean\"},\"members_can_create_private_repositories\":{\"type\":\"boolean\"},\"members_can_create_internal_repositories\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get an organization membership for the authenticated user", - "scope": "orgs", - "id": "getMembershipForAuthenticatedUser", - "method": "GET", - "url": "/user/memberships/orgs/{org}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#get-an-organization-membership-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"organization_url\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get organization membership for a user", - "scope": "orgs", - "id": "getMembershipForUser", - "method": "GET", - "url": "/orgs/{org}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"organization_url\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get an organization webhook", - "scope": "orgs", - "id": "getWebhook", - "method": "GET", - "url": "/orgs/{org}/hooks/{hook_id}", - "documentationUrl": "https://developer.github.com/v3/orgs/hooks/#get-an-organization-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"active\":{\"type\":\"boolean\"},\"config\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "List organizations", - "scope": "orgs", - "id": "list", - "method": "GET", - "url": "/organizations", - "documentationUrl": "https://developer.github.com/v3/orgs/#list-organizations", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The integer ID of the last organization that you've seen.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List app installations for an organization", - "scope": "orgs", - "id": "listAppInstallations", - "method": "GET", - "url": "/orgs/{org}/installations", - "documentationUrl": "https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"installations\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"account\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repository_selection\":{\"type\":\"string\",\"enum\":[\"all\",\"selected\"]},\"access_tokens_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"app_id\":{\"type\":\"number\"},\"target_id\":{\"type\":\"number\"},\"target_type\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"deployments\":{\"type\":\"string\"},\"metadata\":{\"type\":\"string\"},\"pull_requests\":{\"type\":\"string\"},\"statuses\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"single_file_name\":{\"nullable\":true,\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List users blocked by an organization", - "scope": "orgs", - "id": "listBlockedUsers", - "method": "GET", - "url": "/orgs/{org}/blocks", - "documentationUrl": "https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organizations for the authenticated user", - "scope": "orgs", - "id": "listForAuthenticatedUser", - "method": "GET", - "url": "/user/orgs", - "documentationUrl": "https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organizations for a user", - "scope": "orgs", - "id": "listForUser", - "method": "GET", - "url": "/users/{username}/orgs", - "documentationUrl": "https://developer.github.com/v3/orgs/#list-organizations-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization invitation teams", - "scope": "orgs", - "id": "listInvitationTeams", - "method": "GET", - "url": "/orgs/{org}/invitations/{invitation_id}/teams", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#list-organization-invitation-teams", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "invitation_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization members", - "scope": "orgs", - "id": "listMembers", - "method": "GET", - "url": "/orgs/{org}/members", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#list-organization-members", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filter members returned in the list. Can be one of: \n\\* `2fa_disabled` - Members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. Available for organization owners. \n\\* `all` - All members the authenticated user can see.", - "enum": ["2fa_disabled", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filter members returned by their role. Can be one of: \n\\* `all` - All members of the organization, regardless of role. \n\\* `admin` - Organization owners. \n\\* `member` - Non-owner organization members.", - "enum": ["all", "admin", "member"], - "in": "QUERY", - "name": "role", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization memberships for the authenticated user", - "scope": "orgs", - "id": "listMembershipsForAuthenticatedUser", - "method": "GET", - "url": "/user/memberships/orgs", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships.", - "enum": ["active", "pending"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"organization_url\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List outside collaborators for an organization", - "scope": "orgs", - "id": "listOutsideCollaborators", - "method": "GET", - "url": "/orgs/{org}/outside_collaborators", - "documentationUrl": "https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filter the list of outside collaborators. Can be one of: \n\\* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. \n\\* `all`: All outside collaborators.", - "enum": ["2fa_disabled", "all"], - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List pending organization invitations", - "scope": "orgs", - "id": "listPendingInvitations", - "method": "GET", - "url": "/orgs/{org}/invitations", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"team_count\":{\"type\":\"number\"},\"invitation_team_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List public organization members", - "scope": "orgs", - "id": "listPublicMembers", - "method": "GET", - "url": "/orgs/{org}/public_members", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#list-public-organization-members", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List SAML SSO authorizations for an organization", - "scope": "orgs", - "id": "listSamlSsoAuthorizations", - "method": "GET", - "url": "/orgs/{org}/credential-authorizations", - "documentationUrl": "https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"credential_id\":{\"type\":\"string\"},\"credential_type\":{\"type\":\"string\"},\"token_last_eight\":{\"type\":\"string\"},\"credential_authorized_at\":{\"type\":\"string\"},\"scopes\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization webhooks", - "scope": "orgs", - "id": "listWebhooks", - "method": "GET", - "url": "/orgs/{org}/hooks", - "documentationUrl": "https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"active\":{\"type\":\"boolean\"},\"config\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Ping an organization webhook", - "scope": "orgs", - "id": "pingWebhook", - "method": "POST", - "url": "/orgs/{org}/hooks/{hook_id}/pings", - "documentationUrl": "https://developer.github.com/v3/orgs/hooks/#ping-an-organization-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove an organization member", - "scope": "orgs", - "id": "removeMember", - "method": "DELETE", - "url": "/orgs/{org}/members/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#remove-an-organization-member", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove organization membership for a user", - "scope": "orgs", - "id": "removeMembershipForUser", - "method": "DELETE", - "url": "/orgs/{org}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#remove-organization-membership-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove outside collaborator from an organization", - "scope": "orgs", - "id": "removeOutsideCollaborator", - "method": "DELETE", - "url": "/orgs/{org}/outside_collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator-from-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 422, - "description": "Response if user is a member of the organization", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Remove public organization membership for the authenticated user", - "scope": "orgs", - "id": "removePublicMembershipForAuthenticatedUser", - "method": "DELETE", - "url": "/orgs/{org}/public_members/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#remove-public-organization-membership-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove a SAML SSO authorization for an organization", - "scope": "orgs", - "id": "removeSamlSsoAuthorization", - "method": "DELETE", - "url": "/orgs/{org}/credential-authorizations/{credential_id}", - "documentationUrl": "https://developer.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "credential_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Set organization membership for a user", - "scope": "orgs", - "id": "setMembershipForUser", - "method": "PUT", - "url": "/orgs/{org}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#set-organization-membership-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The role to give the user in the organization. Can be one of: \n\\* `admin` - The user will become an owner of the organization. \n\\* `member` - The user will become a non-owner member of the organization.", - "enum": ["admin", "member"], - "in": "BODY", - "name": "role", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"organization_url\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Set public organization membership for the authenticated user", - "scope": "orgs", - "id": "setPublicMembershipForAuthenticatedUser", - "method": "PUT", - "url": "/orgs/{org}/public_members/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Unblock a user from an organization", - "scope": "orgs", - "id": "unblockUser", - "method": "DELETE", - "url": "/orgs/{org}/blocks/{username}", - "documentationUrl": "https://developer.github.com/v3/orgs/blocking/#unblock-a-user-from-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Update an organization", - "scope": "orgs", - "id": "update", - "method": "PATCH", - "url": "/orgs/{org}", - "documentationUrl": "https://developer.github.com/v3/orgs/#update-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Billing email address. This address is not publicized.", - "enum": null, - "in": "BODY", - "name": "billing_email", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The company name.", - "enum": null, - "in": "BODY", - "name": "company", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The publicly visible email address.", - "enum": null, - "in": "BODY", - "name": "email", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The Twitter username of the company.", - "enum": null, - "in": "BODY", - "name": "twitter_username", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The location.", - "enum": null, - "in": "BODY", - "name": "location", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The shorthand name of the company.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the company.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Toggles whether an organization can use organization projects.", - "enum": null, - "in": "BODY", - "name": "has_organization_projects", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Toggles whether repositories that belong to the organization can use repository projects.", - "enum": null, - "in": "BODY", - "name": "has_repository_projects", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Default permission level members have for organization repositories: \n\\* `read` - can pull, but not push to or administer this repository. \n\\* `write` - can pull and push, but not administer this repository. \n\\* `admin` - can pull, push, and administer this repository. \n\\* `none` - no permissions granted by default.", - "enum": ["read", "write", "admin", "none"], - "in": "BODY", - "name": "default_repository_permission", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Toggles the ability of non-admin organization members to create repositories. Can be one of: \n\\* `true` - all organization members can create repositories. \n\\* `false` - only organization owners can create repositories. \nDefault: `true` \n**Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.", - "enum": null, - "in": "BODY", - "name": "members_can_create_repositories", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of: \n\\* `true` - all organization members can create internal repositories. \n\\* `false` - only organization owners can create internal repositories. \nDefault: `true`. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\".", - "enum": null, - "in": "BODY", - "name": "members_can_create_internal_repositories", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of: \n\\* `true` - all organization members can create private repositories. \n\\* `false` - only organization owners can create private repositories. \nDefault: `true`. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\".", - "enum": null, - "in": "BODY", - "name": "members_can_create_private_repositories", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of: \n\\* `true` - all organization members can create public repositories. \n\\* `false` - only organization owners can create public repositories. \nDefault: `true`. For more information, see \"[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)\".", - "enum": null, - "in": "BODY", - "name": "members_can_create_public_repositories", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies which types of repositories non-admin organization members can create. Can be one of: \n\\* `all` - all organization members can create public and private repositories. \n\\* `private` - members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud. \n\\* `none` - only admin members can create repositories. \n**Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See [this note](https://developer.github.com/v3/orgs/#members_can_create_repositories) for details.", - "enum": ["all", "private", "none"], - "in": "BODY", - "name": "members_allowed_repository_creation_type", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"total_private_repos\":{\"type\":\"number\"},\"owned_private_repos\":{\"type\":\"number\"},\"private_gists\":{\"type\":\"number\"},\"disk_usage\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"},\"billing_email\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"space\":{\"type\":\"number\"},\"private_repos\":{\"type\":\"number\"},\"seats\":{\"type\":\"number\"},\"filled_seats\":{\"type\":\"number\"}}},\"default_repository_permission\":{\"type\":\"string\"},\"members_can_create_repositories\":{\"type\":\"boolean\"},\"two_factor_requirement_enabled\":{\"type\":\"boolean\"},\"members_allowed_repository_creation_type\":{\"type\":\"string\"},\"members_can_create_public_repositories\":{\"type\":\"boolean\"},\"members_can_create_private_repositories\":{\"type\":\"boolean\"},\"members_can_create_internal_repositories\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update an organization membership for the authenticated user", - "scope": "orgs", - "id": "updateMembershipForAuthenticatedUser", - "method": "PATCH", - "url": "/user/memberships/orgs/{org}", - "documentationUrl": "https://developer.github.com/v3/orgs/members/#update-an-organization-membership-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The state that the membership should be in. Only `\"active\"` will be accepted.", - "enum": ["active"], - "in": "BODY", - "name": "state", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"organization_url\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update an organization webhook", - "scope": "orgs", - "id": "updateWebhook", - "method": "PATCH", - "url": "/orgs/{org}/hooks/{hook_id}", - "documentationUrl": "https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#update-hook-config-params).", - "enum": null, - "in": "BODY", - "name": "config", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The URL to which the payloads will be delivered.", - "enum": null, - "in": "BODY", - "name": "config.url", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", - "enum": null, - "in": "BODY", - "name": "config.content_type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://developer.github.com/webhooks/event-payloads/#delivery-headers) header.", - "enum": null, - "in": "BODY", - "name": "config.secret", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "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.**", - "enum": null, - "in": "BODY", - "name": "config.insecure_ssl", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for.", - "enum": null, - "in": "BODY", - "name": "events", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", - "enum": null, - "in": "BODY", - "name": "active", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"active\":{\"type\":\"boolean\"},\"config\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Add project collaborator", - "scope": "projects", - "id": "addCollaborator", - "method": "PUT", - "url": "/projects/{project_id}/collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/projects/collaborators/#add-project-collaborator", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\" Can be one of: \n\\* `read` - can read, but not write to or administer this project. \n\\* `write` - can read and write, but not administer this project. \n\\* `admin` - can read, write and administer this project.", - "enum": ["read", "write", "admin"], - "in": "BODY", - "name": "permission", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Create a project card", - "scope": "projects", - "id": "createCard", - "method": "POST", - "url": "/projects/columns/{column_id}/cards", - "documentationUrl": "https://developer.github.com/v3/projects/cards/#create-a-project-card", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "column_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The card's note content. Only valid for cards without another type of content, so you must omit when specifying `content_id` and `content_type`.", - "enum": null, - "in": "BODY", - "name": "note", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The issue or pull request id you want to associate with this card. You can use the [List repository issues](https://developer.github.com/v3/issues/#list-repository-issues) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id. \n**Note:** Depending on whether you use the issue id or pull request id, you will need to specify `Issue` or `PullRequest` as the `content_type`.", - "enum": null, - "in": "BODY", - "name": "content_id", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required if you provide `content_id`**. The type of content you want to associate with this card. Use `Issue` when `content_id` is an issue id and use `PullRequest` when `content_id` is a pull request id.", - "enum": null, - "in": "BODY", - "name": "content_type", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"note\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"archived\":{\"type\":\"boolean\"},\"column_url\":{\"type\":\"string\"},\"content_url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a project column", - "scope": "projects", - "id": "createColumn", - "method": "POST", - "url": "/projects/{project_id}/columns", - "documentationUrl": "https://developer.github.com/v3/projects/columns/#create-a-project-column", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the column.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"},\"cards_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a user project", - "scope": "projects", - "id": "createForAuthenticatedUser", - "method": "POST", - "url": "/user/projects", - "documentationUrl": "https://developer.github.com/v3/projects/#create-a-user-project", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the project.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the project.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create an organization project", - "scope": "projects", - "id": "createForOrg", - "method": "POST", - "url": "/orgs/{org}/projects", - "documentationUrl": "https://developer.github.com/v3/projects/#create-an-organization-project", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the project.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the project.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a repository project", - "scope": "projects", - "id": "createForRepo", - "method": "POST", - "url": "/repos/{owner}/{repo}/projects", - "documentationUrl": "https://developer.github.com/v3/projects/#create-a-repository-project", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the project.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the project.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a project", - "scope": "projects", - "id": "delete", - "method": "DELETE", - "url": "/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/projects/#delete-a-project", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete a project card", - "scope": "projects", - "id": "deleteCard", - "method": "DELETE", - "url": "/projects/columns/cards/{card_id}", - "documentationUrl": "https://developer.github.com/v3/projects/cards/#delete-a-project-card", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "card_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete a project column", - "scope": "projects", - "id": "deleteColumn", - "method": "DELETE", - "url": "/projects/columns/{column_id}", - "documentationUrl": "https://developer.github.com/v3/projects/columns/#delete-a-project-column", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "column_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Get a project", - "scope": "projects", - "id": "get", - "method": "GET", - "url": "/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/projects/#get-a-project", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a project card", - "scope": "projects", - "id": "getCard", - "method": "GET", - "url": "/projects/columns/cards/{card_id}", - "documentationUrl": "https://developer.github.com/v3/projects/cards/#get-a-project-card", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "card_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"note\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"archived\":{\"type\":\"boolean\"},\"column_url\":{\"type\":\"string\"},\"content_url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a project column", - "scope": "projects", - "id": "getColumn", - "method": "GET", - "url": "/projects/columns/{column_id}", - "documentationUrl": "https://developer.github.com/v3/projects/columns/#get-a-project-column", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "column_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"},\"cards_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get project permission for a user", - "scope": "projects", - "id": "getPermissionForUser", - "method": "GET", - "url": "/projects/{project_id}/collaborators/{username}/permission", - "documentationUrl": "https://developer.github.com/v3/projects/collaborators/#get-project-permission-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"permission\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "List project cards", - "scope": "projects", - "id": "listCards", - "method": "GET", - "url": "/projects/columns/{column_id}/cards", - "documentationUrl": "https://developer.github.com/v3/projects/cards/#list-project-cards", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "column_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters the project cards that are returned by the card's state. Can be one of `all`,`archived`, or `not_archived`.", - "enum": ["all", "archived", "not_archived"], - "in": "QUERY", - "name": "archived_state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"note\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"archived\":{\"type\":\"boolean\"},\"column_url\":{\"type\":\"string\"},\"content_url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List project collaborators", - "scope": "projects", - "id": "listCollaborators", - "method": "GET", - "url": "/projects/{project_id}/collaborators", - "documentationUrl": "https://developer.github.com/v3/projects/collaborators/#list-project-collaborators", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters the collaborators by their affiliation. Can be one of: \n\\* `outside`: Outside collaborators of a project that are not a member of the project's organization. \n\\* `direct`: Collaborators with permissions to a project, regardless of organization membership status. \n\\* `all`: All collaborators the authenticated user can see.", - "enum": ["outside", "direct", "all"], - "in": "QUERY", - "name": "affiliation", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List project columns", - "scope": "projects", - "id": "listColumns", - "method": "GET", - "url": "/projects/{project_id}/columns", - "documentationUrl": "https://developer.github.com/v3/projects/columns/#list-project-columns", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"},\"cards_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List organization projects", - "scope": "projects", - "id": "listForOrg", - "method": "GET", - "url": "/orgs/{org}/projects", - "documentationUrl": "https://developer.github.com/v3/projects/#list-organization-projects", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository projects", - "scope": "projects", - "id": "listForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/projects", - "documentationUrl": "https://developer.github.com/v3/projects/#list-repository-projects", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List user projects", - "scope": "projects", - "id": "listForUser", - "method": "GET", - "url": "/users/{username}/projects", - "documentationUrl": "https://developer.github.com/v3/projects/#list-user-projects", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Move a project card", - "scope": "projects", - "id": "moveCard", - "method": "POST", - "url": "/projects/columns/cards/{card_id}/moves", - "documentationUrl": "https://developer.github.com/v3/projects/cards/#move-a-project-card", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "card_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `top`, `bottom`, or `after:`, where `` is the `id` value of a card in the same column, or in the new column specified by `column_id`.", - "enum": null, - "in": "BODY", - "name": "position", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The `id` value of a column in the same project.", - "enum": null, - "in": "BODY", - "name": "column_id", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Move a project column", - "scope": "projects", - "id": "moveColumn", - "method": "POST", - "url": "/projects/columns/{column_id}/moves", - "documentationUrl": "https://developer.github.com/v3/projects/columns/#move-a-project-column", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "column_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `first`, `last`, or `after:`, where `` is the `id` value of a column in the same project.", - "enum": null, - "in": "BODY", - "name": "position", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Remove project collaborator", - "scope": "projects", - "id": "removeCollaborator", - "method": "DELETE", - "url": "/projects/{project_id}/collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/projects/collaborators/#remove-project-collaborator", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Update a project", - "scope": "projects", - "id": "update", - "method": "PATCH", - "url": "/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/projects/#update-a-project", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the project.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the project.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "State of the project. Either `open` or `closed`.", - "enum": ["open", "closed"], - "in": "BODY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project permissions](https://developer.github.com/v3/teams/#add-or-update-team-project-permissions) or [Add project collaborator](https://developer.github.com/v3/projects/collaborators/#add-project-collaborator). \n \n**Note:** Updating a project's `organization_permission` requires `admin` access to the project. \n \nCan be one of: \n\\* `read` - Organization members can read, but not write to or administer this project. \n\\* `write` - Organization members can read and write, but not administer this project. \n\\* `admin` - Organization members can read, write and administer this project. \n\\* `none` - Organization members can only see this project if it is public.", - "enum": null, - "in": "BODY", - "name": "organization_permission", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sets the visibility of a project board. Setting `private` is only available for organization and user projects. **Note:** Updating a project's visibility requires `admin` access to the project. \n \nCan be one of: \n\\* `false` - Anyone can see the project. \n\\* `true` - Only the user can view a project board created on a user account. Organization members with the appropriate `organization_permission` can see project boards in an organization account.", - "enum": null, - "in": "BODY", - "name": "private", - "type": "boolean", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a project card", - "scope": "projects", - "id": "updateCard", - "method": "PATCH", - "url": "/projects/columns/cards/{card_id}", - "documentationUrl": "https://developer.github.com/v3/projects/cards/#update-a-project-card", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "card_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The card's note content. Only valid for cards without another type of content, so this cannot be specified if the card already has a `content_id` and `content_type`.", - "enum": null, - "in": "BODY", - "name": "note", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Use `true` to archive a project card. Specify `false` if you need to restore a previously archived project card.", - "enum": null, - "in": "BODY", - "name": "archived", - "type": "boolean", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"note\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"archived\":{\"type\":\"boolean\"},\"column_url\":{\"type\":\"string\"},\"content_url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a project column", - "scope": "projects", - "id": "updateColumn", - "method": "PATCH", - "url": "/projects/columns/{column_id}", - "documentationUrl": "https://developer.github.com/v3/projects/columns/#update-a-project-column", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "column_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new name of the column.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"project_url\":{\"type\":\"string\"},\"cards_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Check if a pull request has been merged", - "scope": "pulls", - "id": "checkIfMerged", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "documentationUrl": "https://developer.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Create a pull request", - "scope": "pulls", - "id": "create", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls", - "documentationUrl": "https://developer.github.com/v3/pulls/#create-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the new pull request.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`.", - "enum": null, - "in": "BODY", - "name": "head", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.", - "enum": null, - "in": "BODY", - "name": "base", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the pull request.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.", - "enum": null, - "in": "BODY", - "name": "maintainer_can_modify", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates whether the pull request is a draft. See \"[Draft Pull Requests](https://docs.github.com/en/articles/about-pull-requests#draft-pull-requests)\" in the GitHub Help documentation to learn more.", - "enum": null, - "in": "BODY", - "name": "draft", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"issue_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"review_comments_url\":{\"type\":\"string\"},\"review_comment_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"locked\":{\"type\":\"boolean\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"active_lock_reason\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"merged_at\":{\"type\":\"string\"},\"merge_commit_sha\":{\"type\":\"string\"},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_reviewers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"requested_teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"head\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"issue\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comment\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"commits\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"statuses\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"author_association\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"merged\":{\"type\":\"boolean\"},\"mergeable\":{\"type\":\"boolean\"},\"rebaseable\":{\"type\":\"boolean\"},\"mergeable_state\":{\"type\":\"string\"},\"merged_by\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"comments\":{\"type\":\"number\"},\"review_comments\":{\"type\":\"number\"},\"maintainer_can_modify\":{\"type\":\"boolean\"},\"commits\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"changed_files\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a reply for a review comment", - "scope": "pulls", - "id": "createReplyForReviewComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#create-a-reply-for-a-review-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The text of the review comment.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"start_line\":{\"type\":\"number\"},\"original_start_line\":{\"type\":\"number\"},\"start_side\":{\"type\":\"string\"},\"line\":{\"type\":\"number\"},\"original_line\":{\"type\":\"number\"},\"side\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a review for a pull request", - "scope": "pulls", - "id": "createReview", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#create-a-review-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value.", - "enum": null, - "in": "BODY", - "name": "commit_id", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request) when you are ready.", - "enum": ["APPROVE", "REQUEST_CHANGES", "COMMENT"], - "in": "BODY", - "name": "event", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Use the following table to specify the location, destination, and contents of the draft review comment.", - "enum": null, - "in": "BODY", - "name": "comments", - "type": "object[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The relative path to the file that necessitates a review comment.", - "enum": null, - "in": "BODY", - "name": "comments[].path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note below.", - "enum": null, - "in": "BODY", - "name": "comments[].position", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Text of the review comment.", - "enum": null, - "in": "BODY", - "name": "comments[].body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"submitted_at\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a review comment for a pull request", - "scope": "pulls", - "id": "createReviewComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#create-a-review-comment-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The text of the review comment.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`.", - "enum": null, - "in": "BODY", - "name": "commit_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The relative path to the file that necessitates a comment.", - "enum": null, - "in": "BODY", - "name": "path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above.", - "enum": null, - "in": "BODY", - "name": "position", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see \"[Diff view options](https://docs.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)\".", - "enum": ["LEFT", "RIGHT"], - "in": "BODY", - "name": "side", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.", - "enum": null, - "in": "BODY", - "name": "line", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\".", - "enum": null, - "in": "BODY", - "name": "start_line", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see \"[Commenting on a pull request](https://docs.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)\". See `side` in this table for additional context.", - "enum": ["LEFT", "RIGHT", "side"], - "in": "BODY", - "name": "start_side", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"start_line\":{\"type\":\"number\"},\"original_start_line\":{\"type\":\"number\"},\"start_side\":{\"type\":\"string\"},\"line\":{\"type\":\"number\"},\"original_line\":{\"type\":\"number\"},\"side\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a pending review for a pull request", - "scope": "pulls", - "id": "deletePendingReview", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "review_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"commit_id\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a review comment for a pull request", - "scope": "pulls", - "id": "deleteReviewComment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#delete-a-review-comment-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Dismiss a review for a pull request", - "scope": "pulls", - "id": "dismissReview", - "method": "PUT", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "review_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The message for the pull request review dismissal", - "enum": null, - "in": "BODY", - "name": "message", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"submitted_at\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a pull request", - "scope": "pulls", - "id": "get", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}", - "documentationUrl": "https://developer.github.com/v3/pulls/#get-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Pass the appropriate [media type](https://developer.github.com/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"issue_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"review_comments_url\":{\"type\":\"string\"},\"review_comment_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"locked\":{\"type\":\"boolean\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"active_lock_reason\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"merged_at\":{\"type\":\"string\"},\"merge_commit_sha\":{\"type\":\"string\"},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_reviewers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"requested_teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"head\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"issue\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comment\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"commits\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"statuses\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"author_association\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"merged\":{\"type\":\"boolean\"},\"mergeable\":{\"type\":\"boolean\"},\"rebaseable\":{\"type\":\"boolean\"},\"mergeable_state\":{\"type\":\"string\"},\"merged_by\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"comments\":{\"type\":\"number\"},\"review_comments\":{\"type\":\"number\"},\"maintainer_can_modify\":{\"type\":\"boolean\"},\"commits\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"changed_files\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a review for a pull request", - "scope": "pulls", - "id": "getReview", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#get-a-review-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "review_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"submitted_at\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a review comment for a pull request", - "scope": "pulls", - "id": "getReviewComment", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#get-a-review-comment-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"start_line\":{\"type\":\"number\"},\"original_start_line\":{\"type\":\"number\"},\"start_side\":{\"type\":\"string\"},\"line\":{\"type\":\"number\"},\"original_line\":{\"type\":\"number\"},\"side\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "List pull requests", - "scope": "pulls", - "id": "list", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls", - "documentationUrl": "https://developer.github.com/v3/pulls/#list-pull-requests", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `open`, `closed`, or `all` to filter by state.", - "enum": ["open", "closed", "all"], - "in": "QUERY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`.", - "enum": null, - "in": "QUERY", - "name": "head", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filter pulls by base branch name. Example: `gh-pages`.", - "enum": null, - "in": "QUERY", - "name": "base", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month).", - "enum": ["created", "updated", "popularity", "long-running"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"issue_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"review_comments_url\":{\"type\":\"string\"},\"review_comment_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"locked\":{\"type\":\"boolean\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"active_lock_reason\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"merged_at\":{\"type\":\"string\"},\"merge_commit_sha\":{\"type\":\"string\"},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_reviewers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"requested_teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"head\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"issue\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comment\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"commits\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"statuses\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"author_association\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List comments for a pull request review", - "scope": "pulls", - "id": "listCommentsForReview", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "review_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List commits on a pull request", - "scope": "pulls", - "id": "listCommits", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/commits", - "documentationUrl": "https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List pull requests files", - "scope": "pulls", - "id": "listFiles", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/files", - "documentationUrl": "https://developer.github.com/v3/pulls/#list-pull-requests-files", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"filename\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"changes\":{\"type\":\"number\"},\"blob_url\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"patch\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List requested reviewers for a pull request", - "scope": "pulls", - "id": "listRequestedReviewers", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "documentationUrl": "https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List review comments on a pull request", - "scope": "pulls", - "id": "listReviewComments", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/comments", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be either `created` or `updated` comments.", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"start_line\":{\"type\":\"number\"},\"original_start_line\":{\"type\":\"number\"},\"start_side\":{\"type\":\"string\"},\"line\":{\"type\":\"number\"},\"original_line\":{\"type\":\"number\"},\"side\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List review comments in a repository", - "scope": "pulls", - "id": "listReviewCommentsForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/comments", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be either `created` or `updated` comments.", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be either `asc` or `desc`. Ignored without `sort` parameter.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"start_line\":{\"type\":\"number\"},\"original_start_line\":{\"type\":\"number\"},\"start_side\":{\"type\":\"string\"},\"line\":{\"type\":\"number\"},\"original_line\":{\"type\":\"number\"},\"side\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reviews for a pull request", - "scope": "pulls", - "id": "listReviews", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "The list of reviews returns in chronological order.", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"submitted_at\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Merge a pull request", - "scope": "pulls", - "id": "merge", - "method": "PUT", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/merge", - "documentationUrl": "https://developer.github.com/v3/pulls/#merge-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Title for the automatic commit message.", - "enum": null, - "in": "BODY", - "name": "commit_title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Extra detail to append to automatic commit message.", - "enum": null, - "in": "BODY", - "name": "commit_message", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "SHA that pull request head must match to allow merge.", - "enum": null, - "in": "BODY", - "name": "sha", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default is `merge`.", - "enum": ["merge", "squash", "rebase"], - "in": "BODY", - "name": "merge_method", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if merge was successful", - "schema": "{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"merged\":{\"type\":\"boolean\"},\"message\":{\"type\":\"string\"}}}" - }, - { - "code": 405, - "description": "Response if merge cannot be performed", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - }, - { - "code": 409, - "description": "Response if sha was provided and pull request head did not match", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Remove requested reviewers from a pull request", - "scope": "pulls", - "id": "removeRequestedReviewers", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "documentationUrl": "https://developer.github.com/v3/pulls/review_requests/#remove-requested-reviewers-from-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of user `login`s that will be removed.", - "enum": null, - "in": "BODY", - "name": "reviewers", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of team `slug`s that will be removed.", - "enum": null, - "in": "BODY", - "name": "team_reviewers", - "type": "string[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Request reviewers for a pull request", - "scope": "pulls", - "id": "requestReviewers", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", - "documentationUrl": "https://developer.github.com/v3/pulls/review_requests/#request-reviewers-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of user `login`s that will be requested.", - "enum": null, - "in": "BODY", - "name": "reviewers", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of team `slug`s that will be requested.", - "enum": null, - "in": "BODY", - "name": "team_reviewers", - "type": "string[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"issue_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"review_comments_url\":{\"type\":\"string\"},\"review_comment_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"locked\":{\"type\":\"boolean\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"active_lock_reason\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"merged_at\":{\"type\":\"string\"},\"merge_commit_sha\":{\"type\":\"string\"},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_reviewers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"head\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"issue\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comment\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"commits\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"statuses\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"author_association\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Submit a review for a pull request", - "scope": "pulls", - "id": "submitReview", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "review_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The body text of the pull request review", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.", - "enum": ["APPROVE", "REQUEST_CHANGES", "COMMENT"], - "in": "BODY", - "name": "event", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"submitted_at\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a pull request", - "scope": "pulls", - "id": "update", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}", - "documentationUrl": "https://developer.github.com/v3/pulls/#update-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The title of the pull request.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the pull request.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "State of this Pull Request. Either `open` or `closed`.", - "enum": ["open", "closed"], - "in": "BODY", - "name": "state", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository.", - "enum": null, - "in": "BODY", - "name": "base", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.", - "enum": null, - "in": "BODY", - "name": "maintainer_can_modify", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"issue_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"review_comments_url\":{\"type\":\"string\"},\"review_comment_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"locked\":{\"type\":\"boolean\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"active_lock_reason\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"merged_at\":{\"type\":\"string\"},\"merge_commit_sha\":{\"type\":\"string\"},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_reviewers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"requested_teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"head\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"issue\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comment\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"commits\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"statuses\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"author_association\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"merged\":{\"type\":\"boolean\"},\"mergeable\":{\"type\":\"boolean\"},\"rebaseable\":{\"type\":\"boolean\"},\"mergeable_state\":{\"type\":\"string\"},\"merged_by\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"comments\":{\"type\":\"number\"},\"review_comments\":{\"type\":\"number\"},\"maintainer_can_modify\":{\"type\":\"boolean\"},\"commits\":{\"type\":\"number\"},\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"changed_files\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a pull request branch", - "scope": "pulls", - "id": "updateBranch", - "method": "PUT", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", - "documentationUrl": "https://developer.github.com/v3/pulls/#update-a-pull-request-branch", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the \"[List commits](https://developer.github.com/v3/repos/commits/#list-commits)\" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.", - "enum": null, - "in": "BODY", - "name": "expected_head_sha", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "lydian" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.lydian-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 202, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a review for a pull request", - "scope": "pulls", - "id": "updateReview", - "method": "PUT", - "url": "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", - "documentationUrl": "https://developer.github.com/v3/pulls/reviews/#update-a-review-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "pull_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "review_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The body text of the pull request review.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"submitted_at\":{\"type\":\"string\"},\"commit_id\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a review comment for a pull request", - "scope": "pulls", - "id": "updateReviewComment", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/pulls/comments/#update-a-review-comment-for-a-pull-request", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The text of the reply to the review comment.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"pull_request_review_id\":{\"type\":\"number\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"diff_hunk\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"original_position\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"original_commit_id\":{\"type\":\"string\"},\"in_reply_to_id\":{\"type\":\"number\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"pull_request_url\":{\"type\":\"string\"},\"author_association\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"pull_request\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"start_line\":{\"type\":\"number\"},\"original_start_line\":{\"type\":\"number\"},\"start_side\":{\"type\":\"string\"},\"line\":{\"type\":\"number\"},\"original_line\":{\"type\":\"number\"},\"side\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get rate limit status for the authenticated user", - "scope": "rateLimit", - "id": "get", - "method": "GET", - "url": "/rate_limit", - "documentationUrl": "https://developer.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user", - "parameters": [], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"resources\":{\"type\":\"object\",\"properties\":{\"core\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\"},\"remaining\":{\"type\":\"number\"},\"reset\":{\"type\":\"number\"}}},\"search\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\"},\"remaining\":{\"type\":\"number\"},\"reset\":{\"type\":\"number\"}}},\"graphql\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\"},\"remaining\":{\"type\":\"number\"},\"reset\":{\"type\":\"number\"}}},\"integration_manifest\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\"},\"remaining\":{\"type\":\"number\"},\"reset\":{\"type\":\"number\"}}}}},\"rate\":{\"type\":\"object\",\"properties\":{\"limit\":{\"type\":\"number\"},\"remaining\":{\"type\":\"number\"},\"reset\":{\"type\":\"number\"}},\"deprecated\":true}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for a commit comment", - "scope": "reactions", - "id": "createForCommitComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the commit comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for an issue", - "scope": "reactions", - "id": "createForIssue", - "method": "POST", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for an issue comment", - "scope": "reactions", - "id": "createForIssueComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for a pull request review comment", - "scope": "reactions", - "id": "createForPullRequestReviewComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the pull request review comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for a team discussion comment", - "scope": "reactions", - "id": "createForTeamDiscussionCommentInOrg", - "method": "POST", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for a team discussion comment (Legacy)", - "scope": "reactions", - "id": "createForTeamDiscussionCommentLegacy", - "method": "POST", - "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for a team discussion", - "scope": "reactions", - "id": "createForTeamDiscussionInOrg", - "method": "POST", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create reaction for a team discussion (Legacy)", - "scope": "reactions", - "id": "createForTeamDiscussionLegacy", - "method": "POST", - "url": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "BODY", - "name": "content", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a commit comment reaction", - "scope": "reactions", - "id": "deleteForCommitComment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-a-commit-comment-reaction", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete an issue reaction", - "scope": "reactions", - "id": "deleteForIssue", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-an-issue-reaction", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete an issue comment reaction", - "scope": "reactions", - "id": "deleteForIssueComment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-an-issue-comment-reaction", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete a pull request comment reaction", - "scope": "reactions", - "id": "deleteForPullRequestComment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-a-pull-request-comment-reaction", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete team discussion reaction", - "scope": "reactions", - "id": "deleteForTeamDiscussion", - "method": "DELETE", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-team-discussion-reaction", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete team discussion comment reaction", - "scope": "reactions", - "id": "deleteForTeamDiscussionComment", - "method": "DELETE", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-team-discussion-comment-reaction", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete a reaction (Legacy)", - "scope": "reactions", - "id": "deleteLegacy", - "method": "DELETE", - "url": "/reactions/{reaction_id}", - "documentationUrl": "https://developer.github.com/v3/reactions/#delete-a-reaction-legacy", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "reaction_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "List reactions for a commit comment", - "scope": "reactions", - "id": "listForCommitComment", - "method": "GET", - "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a commit comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for an issue", - "scope": "reactions", - "id": "listForIssue", - "method": "GET", - "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-an-issue", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "issue_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for an issue comment", - "scope": "reactions", - "id": "listForIssueComment", - "method": "GET", - "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for a pull request review comment", - "scope": "reactions", - "id": "listForPullRequestReviewComment", - "method": "GET", - "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a pull request review comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for a team discussion comment", - "scope": "reactions", - "id": "listForTeamDiscussionCommentInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for a team discussion comment (Legacy)", - "scope": "reactions", - "id": "listForTeamDiscussionCommentLegacy", - "method": "GET", - "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for a team discussion", - "scope": "reactions", - "id": "listForTeamDiscussionInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List reactions for a team discussion (Legacy)", - "scope": "reactions", - "id": "listForTeamDiscussionLegacy", - "method": "GET", - "url": "/teams/{team_id}/discussions/{discussion_number}/reactions", - "documentationUrl": "https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion.", - "enum": [ - "+1", - "-1", - "laugh", - "confused", - "heart", - "hooray", - "rocket", - "eyes" - ], - "in": "QUERY", - "name": "content", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "squirrel-girl" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.squirrel-girl-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"content\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Accept a repository invitation", - "scope": "repos", - "id": "acceptInvitation", - "method": "PATCH", - "url": "/user/repository_invitations/{invitation_id}", - "documentationUrl": "https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "invitation_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Add app access restrictions", - "scope": "repos", - "id": "addAppAccessRestrictions", - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#add-app-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "apps parameter", - "enum": null, - "in": "BODY", - "name": "apps", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Add a repository collaborator", - "scope": "repos", - "id": "addCollaborator", - "method": "PUT", - "url": "/repos/{owner}/{repo}/collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/repos/collaborators/#add-a-repository-collaborator", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of: \n\\* `pull` - can pull, but not push to or administer this repository. \n\\* `push` - can pull and push, but not administer this repository. \n\\* `admin` - can pull, push and administer this repository. \n\\* `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. \n\\* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.", - "enum": ["pull", "push", "admin", "maintain", "triage"], - "in": "BODY", - "name": "permission", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "Response when a new invitation is created", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"invitee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"permissions\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Add status check contexts", - "scope": "repos", - "id": "addStatusCheckContexts", - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#add-status-check-contexts", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "contexts parameter", - "enum": null, - "in": "BODY", - "name": "contexts", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"string\"}}" - } - ], - "renamed": null - }, - { - "name": "Add team access restrictions", - "scope": "repos", - "id": "addTeamAccessRestrictions", - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#add-team-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "teams parameter", - "enum": null, - "in": "BODY", - "name": "teams", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], - "renamed": null - }, - { - "name": "Add user access restrictions", - "scope": "repos", - "id": "addUserAccessRestrictions", - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#add-user-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "users parameter", - "enum": null, - "in": "BODY", - "name": "users", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Check if a user is a repository collaborator", - "scope": "repos", - "id": "checkCollaborator", - "method": "GET", - "url": "/repos/{owner}/{repo}/collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-repository-collaborator", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Check if vulnerability alerts are enabled for a repository", - "scope": "repos", - "id": "checkVulnerabilityAlerts", - "method": "GET", - "url": "/repos/{owner}/{repo}/vulnerability-alerts", - "documentationUrl": "https://developer.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "dorian" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.dorian-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Compare two commits", - "scope": "repos", - "id": "compareCommits", - "method": "GET", - "url": "/repos/{owner}/{repo}/compare/{base}...{head}", - "documentationUrl": "https://developer.github.com/v3/repos/commits/#compare-two-commits", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "base", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "head", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"permalink_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"base_commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}}}},\"merge_base_commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}}}},\"status\":{\"type\":\"string\"},\"ahead_by\":{\"type\":\"number\"},\"behind_by\":{\"type\":\"number\"},\"total_commits\":{\"type\":\"number\"},\"commits\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}}}}},\"files\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"filename\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"changes\":{\"type\":\"number\"},\"blob_url\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"patch\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a commit comment", - "scope": "repos", - "id": "createCommitComment", - "method": "POST", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "documentationUrl": "https://developer.github.com/v3/repos/comments/#create-a-commit-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "commit_sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the comment.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Relative path of the file to comment on.", - "enum": null, - "in": "BODY", - "name": "path", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Line index in the diff to comment on.", - "enum": null, - "in": "BODY", - "name": "position", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "**Deprecated**. Use **position** parameter instead. Line number in the file to comment on.", - "enum": null, - "in": "BODY", - "name": "line", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"html_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create commit signature protection", - "scope": "repos", - "id": "createCommitSignatureProtection", - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#create-commit-signature-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "zzzax" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.zzzax-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"enabled\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a commit status", - "scope": "repos", - "id": "createCommitStatus", - "method": "POST", - "url": "/repos/{owner}/{repo}/statuses/{sha}", - "documentationUrl": "https://developer.github.com/v3/repos/statuses/#create-a-commit-status", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The state of the status. Can be one of `error`, `failure`, `pending`, or `success`.", - "enum": ["error", "failure", "pending", "success"], - "in": "BODY", - "name": "state", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. \nFor example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: \n`http://ci.example.com/user/repo/build/sha`", - "enum": null, - "in": "BODY", - "name": "target_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the status.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A string label to differentiate this status from the status of other systems.", - "enum": null, - "in": "BODY", - "name": "context", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"target_url\":{\"type\":\"string\"},\"context\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a deploy key", - "scope": "repos", - "id": "createDeployKey", - "method": "POST", - "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://developer.github.com/v3/repos/keys/#create-a-deploy-key", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A name for the key.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the key.", - "enum": null, - "in": "BODY", - "name": "key", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. \n \nDeploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see \"[Repository permission levels for an organization](https://docs.github.com/articles/repository-permission-levels-for-an-organization/)\" and \"[Permission levels for a user account repository](https://docs.github.com/articles/permission-levels-for-a-user-account-repository/).\"", - "enum": null, - "in": "BODY", - "name": "read_only", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"key\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"read_only\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a deployment", - "scope": "repos", - "id": "createDeployment", - "method": "POST", - "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#create-a-deployment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The ref to deploy. This can be a branch, tag, or SHA.", - "enum": null, - "in": "BODY", - "name": "ref", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).", - "enum": null, - "in": "BODY", - "name": "task", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.", - "enum": null, - "in": "BODY", - "name": "auto_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The [status](https://developer.github.com/v3/repos/statuses/) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.", - "enum": null, - "in": "BODY", - "name": "required_contexts", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "JSON payload with extra information about the deployment.", - "enum": null, - "in": "BODY", - "name": "payload", - "type": null, - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Name for the target deployment environment (e.g., `production`, `staging`, `qa`).", - "enum": null, - "in": "BODY", - "name": "environment", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Short description of the deployment.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`\n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.", - "enum": null, - "in": "BODY", - "name": "transient_environment", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise.\n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.", - "enum": null, - "in": "BODY", - "name": "production_environment", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"task\":{\"type\":\"string\"},\"payload\":{\"type\":\"object\",\"properties\":{\"deploy\":{\"type\":\"string\"}}},\"original_environment\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"transient_environment\":{\"type\":\"boolean\"},\"production_environment\":{\"type\":\"boolean\"}}}" - }, - { - "code": 202, - "description": "Merged branch response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"}}}" - }, - { - "code": 409, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a deployment status", - "scope": "repos", - "id": "createDeploymentStatus", - "method": "POST", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#create-a-deployment-status", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "deployment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The state of the status. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued` `pending`, or `success`. **Note:** To use the `inactive` state, you must provide the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. To use the `in_progress` and `queued` states, you must provide the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub.", - "enum": [ - "error", - "failure", - "inactive", - "in_progress", - "queued", - "pending", - "success" - ], - "in": "BODY", - "name": "state", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`.", - "enum": null, - "in": "BODY", - "name": "target_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.", - "enum": null, - "in": "BODY", - "name": "log_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the status. The maximum description length is 140 characters.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. **Note:** This parameter requires you to use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type.", - "enum": ["production", "staging", "qa"], - "in": "BODY", - "name": "environment", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sets the URL for accessing your environment. Default: `\"\"` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.", - "enum": null, - "in": "BODY", - "name": "environment_url", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` \n**Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type.", - "enum": null, - "in": "BODY", - "name": "auto_inactive", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"description\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"target_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"deployment_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"environment_url\":{\"type\":\"string\"},\"log_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a repository dispatch event", - "scope": "repos", - "id": "createDispatchEvent", - "method": "POST", - "url": "/repos/{owner}/{repo}/dispatches", - "documentationUrl": "https://developer.github.com/v3/repos/#create-a-repository-dispatch-event", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required:** A custom webhook event name.", - "enum": null, - "in": "BODY", - "name": "event_type", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "JSON payload with extra information about the webhook event that your action or worklow may use.", - "enum": null, - "in": "BODY", - "name": "client_payload", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "client_payload.*", - "type": "object", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Create a repository for the authenticated user", - "scope": "repos", - "id": "createForAuthenticatedUser", - "method": "POST", - "url": "/user/repos", - "documentationUrl": "https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the repository.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the repository.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL with more information about the repository.", - "enum": null, - "in": "BODY", - "name": "homepage", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to create a private repository or `false` to create a public one.", - "enum": null, - "in": "BODY", - "name": "private", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)\". \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", - "enum": ["public", "private", "visibility", "internal"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable issues for this repository or `false` to disable them.", - "enum": null, - "in": "BODY", - "name": "has_issues", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", - "enum": null, - "in": "BODY", - "name": "has_projects", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", - "enum": null, - "in": "BODY", - "name": "has_wiki", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", - "enum": null, - "in": "BODY", - "name": "is_template", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.", - "enum": null, - "in": "BODY", - "name": "team_id", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Pass `true` to create an initial commit with empty README.", - "enum": null, - "in": "BODY", - "name": "auto_init", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\".", - "enum": null, - "in": "BODY", - "name": "gitignore_template", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\".", - "enum": null, - "in": "BODY", - "name": "license_template", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", - "enum": null, - "in": "BODY", - "name": "allow_squash_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", - "enum": null, - "in": "BODY", - "name": "allow_merge_commit", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", - "enum": null, - "in": "BODY", - "name": "allow_rebase_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", - "enum": null, - "in": "BODY", - "name": "delete_branch_on_merge", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a fork", - "scope": "repos", - "id": "createFork", - "method": "POST", - "url": "/repos/{owner}/{repo}/forks", - "documentationUrl": "https://developer.github.com/v3/repos/forks/#create-a-fork", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Optional parameter to specify the organization name if forking into an organization.", - "enum": null, - "in": "BODY", - "name": "organization", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 202, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create an organization repository", - "scope": "repos", - "id": "createInOrg", - "method": "POST", - "url": "/orgs/{org}/repos", - "documentationUrl": "https://developer.github.com/v3/repos/#create-an-organization-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the repository.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the repository.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL with more information about the repository.", - "enum": null, - "in": "BODY", - "name": "homepage", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to create a private repository or `false` to create a public one.", - "enum": null, - "in": "BODY", - "name": "private", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see \"[Creating an internal repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)\". \nThe `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header.", - "enum": ["public", "private", "visibility", "internal"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable issues for this repository or `false` to disable them.", - "enum": null, - "in": "BODY", - "name": "has_issues", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", - "enum": null, - "in": "BODY", - "name": "has_projects", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", - "enum": null, - "in": "BODY", - "name": "has_wiki", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", - "enum": null, - "in": "BODY", - "name": "is_template", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.", - "enum": null, - "in": "BODY", - "name": "team_id", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Pass `true` to create an initial commit with empty README.", - "enum": null, - "in": "BODY", - "name": "auto_init", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, \"Haskell\".", - "enum": null, - "in": "BODY", - "name": "gitignore_template", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, \"mit\" or \"mpl-2.0\".", - "enum": null, - "in": "BODY", - "name": "license_template", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", - "enum": null, - "in": "BODY", - "name": "allow_squash_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", - "enum": null, - "in": "BODY", - "name": "allow_merge_commit", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", - "enum": null, - "in": "BODY", - "name": "allow_rebase_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", - "enum": null, - "in": "BODY", - "name": "delete_branch_on_merge", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create or update file contents", - "scope": "repos", - "id": "createOrUpdateFileContents", - "method": "PUT", - "url": "/repos/{owner}/{repo}/contents/{path}", - "documentationUrl": "https://developer.github.com/v3/repos/contents/#create-or-update-file-contents", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The commit message.", - "enum": null, - "in": "BODY", - "name": "message", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new file content, using Base64 encoding.", - "enum": null, - "in": "BODY", - "name": "content", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required if you are updating a file**. The blob SHA of the file being replaced.", - "enum": null, - "in": "BODY", - "name": "sha", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The branch name. Default: the repository’s default branch (usually `master`)", - "enum": null, - "in": "BODY", - "name": "branch", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The person that committed the file. Default: the authenticated user.", - "enum": null, - "in": "BODY", - "name": "committer", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted.", - "enum": null, - "in": "BODY", - "name": "committer.name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted.", - "enum": null, - "in": "BODY", - "name": "committer.email", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.", - "enum": null, - "in": "BODY", - "name": "author", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted.", - "enum": null, - "in": "BODY", - "name": "author.name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted.", - "enum": null, - "in": "BODY", - "name": "author.email", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"content\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"download_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"string\"},\"git\":{\"type\":\"string\"},\"html\":{\"type\":\"string\"}}}}},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}}}" - }, - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"content\":{\"nullable\":true,\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"download_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"string\"},\"git\":{\"type\":\"string\"},\"html\":{\"type\":\"string\"}}}}},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a GitHub Pages site", - "scope": "repos", - "id": "createPagesSite", - "method": "POST", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#create-a-github-pages-site", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The source branch and directory used to publish your Pages site.", - "enum": null, - "in": "BODY", - "name": "source", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The repository branch used to publish your site's source files.", - "enum": null, - "in": "BODY", - "name": "source.branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`", - "enum": ["/", "/docs"], - "in": "BODY", - "name": "source.path", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "switcheroo" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.switcheroo-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"cname\":{\"type\":\"string\"},\"custom_404\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"source\":{\"type\":\"object\",\"properties\":{\"branch\":{\"type\":\"string\"},\"directory\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a release", - "scope": "repos", - "id": "createRelease", - "method": "POST", - "url": "/repos/{owner}/{repo}/releases", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#create-a-release", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the tag.", - "enum": null, - "in": "BODY", - "name": "tag_name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`).", - "enum": null, - "in": "BODY", - "name": "target_commitish", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the release.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Text describing the contents of the tag.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "`true` to create a draft (unpublished) release, `false` to create a published one.", - "enum": null, - "in": "BODY", - "name": "draft", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "`true` to identify the release as a prerelease. `false` to identify the release as a full release.", - "enum": null, - "in": "BODY", - "name": "prerelease", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"assets_url\":{\"type\":\"string\"},\"upload_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"},\"zipball_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"tag_name\":{\"type\":\"string\"},\"target_commitish\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"prerelease\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"published_at\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assets\":{\"type\":\"array\",\"items\":{}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a repository using a template", - "scope": "repos", - "id": "createUsingTemplate", - "method": "POST", - "url": "/repos/{template_owner}/{template_repo}/generate", - "documentationUrl": "https://developer.github.com/v3/repos/#create-a-repository-using-a-template", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "template_owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "template_repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization.", - "enum": null, - "in": "BODY", - "name": "owner", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the new repository.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the new repository.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to create a new private repository or `false` to create a new public one.", - "enum": null, - "in": "BODY", - "name": "private", - "type": "boolean", - "required": false - } - ], - "previews": [{ "name": "baptiste" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.baptiste-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Create a repository webhook", - "scope": "repos", - "id": "createWebhook", - "method": "POST", - "url": "/repos/{owner}/{repo}/hooks", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#create-a-repository-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params).", - "enum": null, - "in": "BODY", - "name": "config", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The URL to which the payloads will be delivered.", - "enum": null, - "in": "BODY", - "name": "config.url", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", - "enum": null, - "in": "BODY", - "name": "config.content_type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://developer.github.com/webhooks/event-payloads/#delivery-headers) header.", - "enum": null, - "in": "BODY", - "name": "config.secret", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "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.**", - "enum": null, - "in": "BODY", - "name": "config.insecure_ssl", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for.", - "enum": null, - "in": "BODY", - "name": "events", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", - "enum": null, - "in": "BODY", - "name": "active", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"active\":{\"type\":\"boolean\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"config\":{\"type\":\"object\",\"properties\":{\"content_type\":{\"type\":\"string\"},\"insecure_ssl\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"test_url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"last_response\":{\"type\":\"object\",\"properties\":{\"code\":{\"nullable\":true,\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"message\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Decline a repository invitation", - "scope": "repos", - "id": "declineInvitation", - "method": "DELETE", - "url": "/user/repository_invitations/{invitation_id}", - "documentationUrl": "https://developer.github.com/v3/repos/invitations/#decline-a-repository-invitation", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "invitation_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a repository", - "scope": "repos", - "id": "delete", - "method": "DELETE", - "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/repos/#delete-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 204, - "description": "Empty response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Delete access restrictions", - "scope": "repos", - "id": "deleteAccessRestrictions", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#delete-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete admin branch protection", - "scope": "repos", - "id": "deleteAdminBranchProtection", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#delete-admin-branch-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete branch protection", - "scope": "repos", - "id": "deleteBranchProtection", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#delete-branch-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a commit comment", - "scope": "repos", - "id": "deleteCommitComment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/repos/comments/#delete-a-commit-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete commit signature protection", - "scope": "repos", - "id": "deleteCommitSignatureProtection", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#delete-commit-signature-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "zzzax" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.zzzax-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete a deploy key", - "scope": "repos", - "id": "deleteDeployKey", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://developer.github.com/v3/repos/keys/#delete-a-deploy-key", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "key_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a deployment", - "scope": "repos", - "id": "deleteDeployment", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#delete-a-deployment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "deployment_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a file", - "scope": "repos", - "id": "deleteFile", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/contents/{path}", - "documentationUrl": "https://developer.github.com/v3/repos/contents/#delete-a-file", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The commit message.", - "enum": null, - "in": "BODY", - "name": "message", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The blob SHA of the file being replaced.", - "enum": null, - "in": "BODY", - "name": "sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The branch name. Default: the repository’s default branch (usually `master`)", - "enum": null, - "in": "BODY", - "name": "branch", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "object containing information about the committer.", - "enum": null, - "in": "BODY", - "name": "committer", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the author (or committer) of the commit", - "enum": null, - "in": "BODY", - "name": "committer.name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email of the author (or committer) of the commit", - "enum": null, - "in": "BODY", - "name": "committer.email", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "object containing information about the author.", - "enum": null, - "in": "BODY", - "name": "author", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the author (or committer) of the commit", - "enum": null, - "in": "BODY", - "name": "author.name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email of the author (or committer) of the commit", - "enum": null, - "in": "BODY", - "name": "author.email", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"content\":{\"nullable\":true},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a repository invitation", - "scope": "repos", - "id": "deleteInvitation", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "documentationUrl": "https://developer.github.com/v3/repos/invitations/#delete-a-repository-invitation", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "invitation_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a GitHub Pages site", - "scope": "repos", - "id": "deletePagesSite", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#delete-a-github-pages-site", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "switcheroo" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.switcheroo-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Delete pull request review protection", - "scope": "repos", - "id": "deletePullRequestReviewProtection", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#delete-pull-request-review-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a release", - "scope": "repos", - "id": "deleteRelease", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/releases/{release_id}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#delete-a-release", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "release_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a release asset", - "scope": "repos", - "id": "deleteReleaseAsset", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#delete-a-release-asset", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "asset_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a repository webhook", - "scope": "repos", - "id": "deleteWebhook", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#delete-a-repository-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Disable automated security fixes", - "scope": "repos", - "id": "disableAutomatedSecurityFixes", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/automated-security-fixes", - "documentationUrl": "https://developer.github.com/v3/repos/#disable-automated-security-fixes", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "london" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.london-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Disable vulnerability alerts", - "scope": "repos", - "id": "disableVulnerabilityAlerts", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/vulnerability-alerts", - "documentationUrl": "https://developer.github.com/v3/repos/#disable-vulnerability-alerts", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "dorian" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.dorian-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Download a repository archive", - "scope": "repos", - "id": "downloadArchive", - "method": "GET", - "url": "/repos/{owner}/{repo}/{archive_format}/{ref}", - "documentationUrl": "https://developer.github.com/v3/repos/contents/#download-a-repository-archive", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "archive_format", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Enable automated security fixes", - "scope": "repos", - "id": "enableAutomatedSecurityFixes", - "method": "PUT", - "url": "/repos/{owner}/{repo}/automated-security-fixes", - "documentationUrl": "https://developer.github.com/v3/repos/#enable-automated-security-fixes", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "london" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.london-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Enable vulnerability alerts", - "scope": "repos", - "id": "enableVulnerabilityAlerts", - "method": "PUT", - "url": "/repos/{owner}/{repo}/vulnerability-alerts", - "documentationUrl": "https://developer.github.com/v3/repos/#enable-vulnerability-alerts", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "dorian" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.dorian-preview+json", - "required": true - } - ], - "responses": [], - "renamed": null - }, - { - "name": "Get a repository", - "scope": "repos", - "id": "get", - "method": "GET", - "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/repos/#get-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"nullable\":true,\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"nullable\":true,\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"nullable\":true,\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"nullable\":true,\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"pull\":{\"type\":\"boolean\"},\"triage\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"maintain\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true,\"type\":\"string\"},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parent\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"source\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"code_of_conduct\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get access restrictions", - "scope": "repos", - "id": "getAccessRestrictions", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"apps_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"apps\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get admin branch protection", - "scope": "repos", - "id": "getAdminBranchProtection", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-admin-branch-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"enabled\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get all status check contexts", - "scope": "repos", - "id": "getAllStatusCheckContexts", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-all-status-check-contexts", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"string\"}}" - } - ], - "renamed": null - }, - { - "name": "Get all repository topics", - "scope": "repos", - "id": "getAllTopics", - "method": "GET", - "url": "/repos/{owner}/{repo}/topics", - "documentationUrl": "https://developer.github.com/v3/repos/#get-all-repository-topics", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "mercy" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.mercy-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get apps with access to the protected branch", - "scope": "repos", - "id": "getAppsWithAccessToProtectedBranch", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-the-protected-branch", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a branch", - "scope": "repos", - "id": "getBranch", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-a-branch", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"url\":{\"type\":\"string\"},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"gravatar_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"sha\",\"url\"]}},\"url\":{\"type\":\"string\"},\"committer\":{\"type\":\"object\",\"properties\":{\"gravatar_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"html\":{\"type\":\"string\"},\"self\":{\"type\":\"string\"}}},\"protected\":{\"type\":\"boolean\"},\"protection\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"required_status_checks\":{\"type\":\"object\",\"properties\":{\"enforcement_level\":{\"type\":\"string\"},\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"protection_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get branch protection", - "scope": "repos", - "id": "getBranchProtection", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-branch-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"required_status_checks\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"strict\":{\"type\":\"boolean\"},\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"contexts_url\":{\"type\":\"string\"}}},\"enforce_admins\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"enabled\":{\"type\":\"boolean\"}}},\"required_pull_request_reviews\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"dismissal_restrictions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}}},\"dismiss_stale_reviews\":{\"type\":\"boolean\"},\"require_code_owner_reviews\":{\"type\":\"boolean\"},\"required_approving_review_count\":{\"type\":\"number\"}}},\"restrictions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"apps_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"apps\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}},\"required_linear_history\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"allow_force_pushes\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"allow_deletions\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get repository clones", - "scope": "repos", - "id": "getClones", - "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/clones", - "documentationUrl": "https://developer.github.com/v3/repos/traffic/#get-repository-clones", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Must be one of: `day`, `week`.", - "enum": ["day", "week"], - "in": "QUERY", - "name": "per", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"count\":{\"type\":\"number\"},\"uniques\":{\"type\":\"number\"},\"clones\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"timestamp\":{\"type\":\"string\"},\"count\":{\"type\":\"number\"},\"uniques\":{\"type\":\"number\"}},\"required\":[\"timestamp\",\"count\",\"uniques\"]}}}}" - } - ], - "renamed": null - }, - { - "name": "Get the weekly commit activity", - "scope": "repos", - "id": "getCodeFrequencyStats", - "method": "GET", - "url": "/repos/{owner}/{repo}/stats/code_frequency", - "documentationUrl": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-activity", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Returns a weekly aggregate of the number of additions and deletions pushed to a repository.", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get repository permissions for a user", - "scope": "repos", - "id": "getCollaboratorPermissionLevel", - "method": "GET", - "url": "/repos/{owner}/{repo}/collaborators/{username}/permission", - "documentationUrl": "https://developer.github.com/v3/repos/collaborators/#get-repository-permissions-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if user has admin permissions", - "schema": "{\"type\":\"object\",\"properties\":{\"permission\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get the combined status for a specific reference", - "scope": "repos", - "id": "getCombinedStatusForRef", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}/status", - "documentationUrl": "https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-reference", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"state\":{\"type\":\"string\"},\"statuses\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"target_url\":{\"type\":\"string\"},\"context\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}},\"required\":[\"url\",\"avatar_url\",\"id\",\"node_id\",\"state\",\"description\",\"target_url\",\"context\",\"created_at\",\"updated_at\"]}},\"sha\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"commit_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a commit", - "scope": "repos", - "id": "getCommit", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}", - "documentationUrl": "https://developer.github.com/v3/repos/commits/#get-a-commit", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"stats\":{\"type\":\"object\",\"properties\":{\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"total\":{\"type\":\"number\"}}},\"files\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"filename\":{\"type\":\"string\"},\"additions\":{\"type\":\"number\"},\"deletions\":{\"type\":\"number\"},\"changes\":{\"type\":\"number\"},\"status\":{\"type\":\"string\"},\"raw_url\":{\"type\":\"string\"},\"blob_url\":{\"type\":\"string\"},\"patch\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get the last year of commit activity", - "scope": "repos", - "id": "getCommitActivityStats", - "method": "GET", - "url": "/repos/{owner}/{repo}/stats/commit_activity", - "documentationUrl": "https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"days\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}},\"total\":{\"type\":\"number\"},\"week\":{\"type\":\"number\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a commit comment", - "scope": "repos", - "id": "getCommitComment", - "method": "GET", - "url": "/repos/{owner}/{repo}/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/repos/comments/#get-a-commit-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"html_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get commit signature protection", - "scope": "repos", - "id": "getCommitSignatureProtection", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-commit-signature-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "zzzax" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.zzzax-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"enabled\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get community profile metrics", - "scope": "repos", - "id": "getCommunityProfileMetrics", - "method": "GET", - "url": "/repos/{owner}/{repo}/community/profile", - "documentationUrl": "https://developer.github.com/v3/repos/community/#get-community-profile-metrics", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "black-panther" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.black-panther+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"health_percentage\":{\"type\":\"number\"},\"description\":{\"type\":\"string\"},\"documentation\":{\"type\":\"boolean\"},\"files\":{\"type\":\"object\",\"properties\":{\"code_of_conduct\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}},\"contributing\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}},\"issue_template\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}},\"pull_request_template\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}},\"license\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}},\"readme\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}}}},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get repository content", - "scope": "repos", - "id": "getContent", - "method": "GET", - "url": "/repos/{owner}/{repo}/contents/{path}", - "documentationUrl": "https://developer.github.com/v3/repos/contents/#get-repository-content", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "path", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", - "enum": null, - "in": "QUERY", - "name": "ref", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"encoding\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"download_url\":{\"nullable\":true,\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"submodule_git_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"git\":{\"type\":\"string\"},\"self\":{\"type\":\"string\"},\"html\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get all contributor commit activity", - "scope": "repos", - "id": "getContributorsStats", - "method": "GET", - "url": "/repos/{owner}/{repo}/stats/contributors", - "documentationUrl": "https://developer.github.com/v3/repos/statistics/#get-all-contributor-commit-activity", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "* `w` - Start of the week, given as a [Unix timestamp](http://en.wikipedia.org/wiki/Unix_time).\n* `a` - Number of additions\n* `d` - Number of deletions\n* `c` - Number of commits", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"total\":{\"type\":\"number\"},\"weeks\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"w\":{\"type\":\"string\"},\"a\":{\"type\":\"number\"},\"d\":{\"type\":\"number\"},\"c\":{\"type\":\"number\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a deploy key", - "scope": "repos", - "id": "getDeployKey", - "method": "GET", - "url": "/repos/{owner}/{repo}/keys/{key_id}", - "documentationUrl": "https://developer.github.com/v3/repos/keys/#get-a-deploy-key", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "key_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"key\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"read_only\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a deployment", - "scope": "repos", - "id": "getDeployment", - "method": "GET", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#get-a-deployment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "deployment_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"task\":{\"type\":\"string\"},\"payload\":{\"type\":\"object\",\"properties\":{\"deploy\":{\"type\":\"string\"}}},\"original_environment\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"transient_environment\":{\"type\":\"boolean\"},\"production_environment\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a deployment status", - "scope": "repos", - "id": "getDeploymentStatus", - "method": "GET", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#get-a-deployment-status", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "deployment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "status_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"description\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"target_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"deployment_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"environment_url\":{\"type\":\"string\"},\"log_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get latest Pages build", - "scope": "repos", - "id": "getLatestPagesBuild", - "method": "GET", - "url": "/repos/{owner}/{repo}/pages/builds/latest", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#get-latest-pages-build", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"error\":{\"type\":\"object\",\"properties\":{\"message\":{\"nullable\":true,\"type\":\"string\"}}},\"pusher\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"commit\":{\"type\":\"string\"},\"duration\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get the latest release", - "scope": "repos", - "id": "getLatestRelease", - "method": "GET", - "url": "/repos/{owner}/{repo}/releases/latest", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#get-the-latest-release", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"assets_url\":{\"type\":\"string\"},\"upload_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"},\"zipball_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"tag_name\":{\"type\":\"string\"},\"target_commitish\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"prerelease\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"published_at\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a GitHub Pages site", - "scope": "repos", - "id": "getPages", - "method": "GET", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#get-a-github-pages-site", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"cname\":{\"type\":\"string\"},\"custom_404\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"source\":{\"type\":\"object\",\"properties\":{\"branch\":{\"type\":\"string\"},\"directory\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get GitHub Pages build", - "scope": "repos", - "id": "getPagesBuild", - "method": "GET", - "url": "/repos/{owner}/{repo}/pages/builds/{build_id}", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#get-github-pages-build", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "build_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"error\":{\"type\":\"object\",\"properties\":{\"message\":{\"nullable\":true,\"type\":\"string\"}}},\"pusher\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"commit\":{\"type\":\"string\"},\"duration\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get the weekly commit count", - "scope": "repos", - "id": "getParticipationStats", - "method": "GET", - "url": "/repos/{owner}/{repo}/stats/participation", - "documentationUrl": "https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "The array order is oldest week (index 0) to most recent week.", - "schema": "{\"type\":\"object\",\"properties\":{\"all\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}},\"owner\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get pull request review protection", - "scope": "repos", - "id": "getPullRequestReviewProtection", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-pull-request-review-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"dismissal_restrictions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}}},\"dismiss_stale_reviews\":{\"type\":\"boolean\"},\"require_code_owner_reviews\":{\"type\":\"boolean\"},\"required_approving_review_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get the hourly commit count for each day", - "scope": "repos", - "id": "getPunchCardStats", - "method": "GET", - "url": "/repos/{owner}/{repo}/stats/punch_card", - "documentationUrl": "https://developer.github.com/v3/repos/statistics/#get-the-hourly-commit-count-for-each-day", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "For example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"array\",\"items\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get a repository README", - "scope": "repos", - "id": "getReadme", - "method": "GET", - "url": "/repos/{owner}/{repo}/readme", - "documentationUrl": "https://developer.github.com/v3/repos/contents/#get-a-repository-readme", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`)", - "enum": null, - "in": "QUERY", - "name": "ref", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"encoding\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"content\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"download_url\":{\"nullable\":true,\"type\":\"string\"},\"target\":{\"type\":\"string\"},\"submodule_git_url\":{\"type\":\"string\"},\"_links\":{\"type\":\"object\",\"properties\":{\"git\":{\"type\":\"string\"},\"self\":{\"type\":\"string\"},\"html\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a release", - "scope": "repos", - "id": "getRelease", - "method": "GET", - "url": "/repos/{owner}/{repo}/releases/{release_id}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#get-a-release", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "release_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "**Note:** This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a [hypermedia resource](https://developer.github.com/v3/#hypermedia).", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"assets_url\":{\"type\":\"string\"},\"upload_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"},\"zipball_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"tag_name\":{\"type\":\"string\"},\"target_commitish\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"prerelease\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"published_at\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a release asset", - "scope": "repos", - "id": "getReleaseAsset", - "method": "GET", - "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#get-a-release-asset", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "asset_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "To download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://developer.github.com/v3/media/#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response.", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a release by tag name", - "scope": "repos", - "id": "getReleaseByTag", - "method": "GET", - "url": "/repos/{owner}/{repo}/releases/tags/{tag}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "tag", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"assets_url\":{\"type\":\"string\"},\"upload_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"},\"zipball_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"tag_name\":{\"type\":\"string\"},\"target_commitish\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"prerelease\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"published_at\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get status checks protection", - "scope": "repos", - "id": "getStatusChecksProtection", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#get-status-checks-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"strict\":{\"type\":\"boolean\"},\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"contexts_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Get teams with access to the protected branch", - "scope": "repos", - "id": "getTeamsWithAccessToProtectedBranch", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-the-protected-branch", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], - "renamed": null - }, - { - "name": "Get top referral paths", - "scope": "repos", - "id": "getTopPaths", - "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/popular/paths", - "documentationUrl": "https://developer.github.com/v3/repos/traffic/#get-top-referral-paths", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"path\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"count\":{\"type\":\"number\"},\"uniques\":{\"type\":\"number\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get top referral sources", - "scope": "repos", - "id": "getTopReferrers", - "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/popular/referrers", - "documentationUrl": "https://developer.github.com/v3/repos/traffic/#get-top-referral-sources", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"referrer\":{\"type\":\"string\"},\"count\":{\"type\":\"number\"},\"uniques\":{\"type\":\"number\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get users with access to the protected branch", - "scope": "repos", - "id": "getUsersWithAccessToProtectedBranch", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#list-users-with-access-to-the-protected-branch", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Get page views", - "scope": "repos", - "id": "getViews", - "method": "GET", - "url": "/repos/{owner}/{repo}/traffic/views", - "documentationUrl": "https://developer.github.com/v3/repos/traffic/#get-page-views", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Must be one of: `day`, `week`.", - "enum": ["day", "week"], - "in": "QUERY", - "name": "per", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"count\":{\"type\":\"number\"},\"uniques\":{\"type\":\"number\"},\"views\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"timestamp\":{\"type\":\"string\"},\"count\":{\"type\":\"number\"},\"uniques\":{\"type\":\"number\"}},\"required\":[\"timestamp\",\"count\",\"uniques\"]}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a repository webhook", - "scope": "repos", - "id": "getWebhook", - "method": "GET", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#get-a-repository-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"active\":{\"type\":\"boolean\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"config\":{\"type\":\"object\",\"properties\":{\"content_type\":{\"type\":\"string\"},\"insecure_ssl\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"test_url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"last_response\":{\"type\":\"object\",\"properties\":{\"code\":{\"nullable\":true,\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"message\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "List branches", - "scope": "repos", - "id": "listBranches", - "method": "GET", - "url": "/repos/{owner}/{repo}/branches", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#list-branches", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches.", - "enum": null, - "in": "QUERY", - "name": "protected", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"protected\":{\"type\":\"boolean\"},\"protection\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"required_status_checks\":{\"type\":\"object\",\"properties\":{\"enforcement_level\":{\"type\":\"string\"},\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}},\"protection_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List branches for HEAD commit", - "scope": "repos", - "id": "listBranchesForHeadCommit", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", - "documentationUrl": "https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "commit_sha", - "type": "string", - "required": true - } - ], - "previews": [{ "name": "groot" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.groot-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"protected\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository collaborators", - "scope": "repos", - "id": "listCollaborators", - "method": "GET", - "url": "/repos/{owner}/{repo}/collaborators", - "documentationUrl": "https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filter collaborators returned by their affiliation. Can be one of: \n\\* `outside`: All outside collaborators of an organization-owned repository. \n\\* `direct`: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. \n\\* `all`: All collaborators the authenticated user can see.", - "enum": ["outside", "direct", "all"], - "in": "QUERY", - "name": "affiliation", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"pull\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List commit comments", - "scope": "repos", - "id": "listCommentsForCommit", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", - "documentationUrl": "https://developer.github.com/v3/repos/comments/#list-commit-comments", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "commit_sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"html_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List commit comments for a repository", - "scope": "repos", - "id": "listCommitCommentsForRepo", - "method": "GET", - "url": "/repos/{owner}/{repo}/comments", - "documentationUrl": "https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"html_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List commit statuses for a reference", - "scope": "repos", - "id": "listCommitStatusesForRef", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{ref}/statuses", - "documentationUrl": "https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "ref", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"target_url\":{\"type\":\"string\"},\"context\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List commits", - "scope": "repos", - "id": "listCommits", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits", - "documentationUrl": "https://developer.github.com/v3/repos/commits/#list-commits", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "SHA or branch to start listing commits from. Default: the repository’s default branch (usually `master`).", - "enum": null, - "in": "QUERY", - "name": "sha", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only commits containing this file path will be returned.", - "enum": null, - "in": "QUERY", - "name": "path", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "GitHub login or email address by which to filter by commit author.", - "enum": null, - "in": "QUERY", - "name": "author", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only commits after this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.", - "enum": null, - "in": "QUERY", - "name": "until", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository contributors", - "scope": "repos", - "id": "listContributors", - "method": "GET", - "url": "/repos/{owner}/{repo}/contributors", - "documentationUrl": "https://developer.github.com/v3/repos/#list-repository-contributors", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Set to `1` or `true` to include anonymous contributors in results.", - "enum": null, - "in": "QUERY", - "name": "anon", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if repository contains content", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"},\"contributions\":{\"type\":\"number\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List deploy keys", - "scope": "repos", - "id": "listDeployKeys", - "method": "GET", - "url": "/repos/{owner}/{repo}/keys", - "documentationUrl": "https://developer.github.com/v3/repos/keys/#list-deploy-keys", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"key\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"read_only\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List deployment statuses", - "scope": "repos", - "id": "listDeploymentStatuses", - "method": "GET", - "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#list-deployment-statuses", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "deployment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"description\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"target_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"deployment_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"environment_url\":{\"type\":\"string\"},\"log_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List deployments", - "scope": "repos", - "id": "listDeployments", - "method": "GET", - "url": "/repos/{owner}/{repo}/deployments", - "documentationUrl": "https://developer.github.com/v3/repos/deployments/#list-deployments", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SHA recorded at creation time.", - "enum": null, - "in": "QUERY", - "name": "sha", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the ref. This can be a branch, tag, or SHA.", - "enum": null, - "in": "QUERY", - "name": "ref", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`).", - "enum": null, - "in": "QUERY", - "name": "task", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the environment that was deployed to (e.g., `staging` or `production`).", - "enum": null, - "in": "QUERY", - "name": "environment", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"task\":{\"type\":\"string\"},\"payload\":{\"type\":\"object\",\"properties\":{\"deploy\":{\"type\":\"string\"}}},\"original_environment\":{\"type\":\"string\"},\"environment\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"transient_environment\":{\"type\":\"boolean\"},\"production_environment\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories for the authenticated user", - "scope": "repos", - "id": "listForAuthenticatedUser", - "method": "GET", - "url": "/user/repos", - "documentationUrl": "https://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `all`, `public`, or `private`.", - "enum": ["all", "public", "private"], - "in": "QUERY", - "name": "visibility", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Comma-separated list of values. Can include: \n\\* `owner`: Repositories that are owned by the authenticated user. \n\\* `collaborator`: Repositories that the user has been added to as a collaborator. \n\\* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on.", - "enum": null, - "in": "QUERY", - "name": "affiliation", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` \n \nWill cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**.", - "enum": ["all", "owner", "public", "private", "member"], - "in": "QUERY", - "name": "type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `created`, `updated`, `pushed`, `full_name`.", - "enum": ["created", "updated", "pushed", "full_name"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc`", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "List organization repositories", - "scope": "repos", - "id": "listForOrg", - "method": "GET", - "url": "/orgs/{org}/repos", - "documentationUrl": "https://developer.github.com/v3/repos/#list-organization-repositories", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", - "enum": [ - "all", - "public", - "private", - "forks", - "sources", - "member", - "internal" - ], - "in": "QUERY", - "name": "type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `created`, `updated`, `pushed`, `full_name`.", - "enum": ["created", "updated", "pushed", "full_name"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `asc` or `desc`. Default: when using `full_name`: `asc`, otherwise `desc`", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repositories for a user", - "scope": "repos", - "id": "listForUser", - "method": "GET", - "url": "/users/{username}/repos", - "documentationUrl": "https://developer.github.com/v3/repos/#list-repositories-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `all`, `owner`, `member`.", - "enum": ["all", "owner", "member"], - "in": "QUERY", - "name": "type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `created`, `updated`, `pushed`, `full_name`.", - "enum": ["created", "updated", "pushed", "full_name"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc`", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "List forks", - "scope": "repos", - "id": "listForks", - "method": "GET", - "url": "/repos/{owner}/{repo}/forks", - "documentationUrl": "https://developer.github.com/v3/repos/forks/#list-forks", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The sort order. Can be either `newest`, `oldest`, or `stargazers`.", - "enum": ["newest", "oldest", "stargazers"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository invitations", - "scope": "repos", - "id": "listInvitations", - "method": "GET", - "url": "/repos/{owner}/{repo}/invitations", - "documentationUrl": "https://developer.github.com/v3/repos/invitations/#list-repository-invitations", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"invitee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"permissions\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository invitations for the authenticated user", - "scope": "repos", - "id": "listInvitationsForAuthenticatedUser", - "method": "GET", - "url": "/user/repository_invitations", - "documentationUrl": "https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"invitee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"permissions\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository languages", - "scope": "repos", - "id": "listLanguages", - "method": "GET", - "url": "/repos/{owner}/{repo}/languages", - "documentationUrl": "https://developer.github.com/v3/repos/#list-repository-languages", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"C\":{\"type\":\"number\"},\"Python\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "List GitHub Pages builds", - "scope": "repos", - "id": "listPagesBuilds", - "method": "GET", - "url": "/repos/{owner}/{repo}/pages/builds", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#list-github-pages-builds", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"error\":{\"type\":\"object\",\"properties\":{\"message\":{\"nullable\":true,\"type\":\"string\"}}},\"pusher\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"commit\":{\"type\":\"string\"},\"duration\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List public repositories", - "scope": "repos", - "id": "listPublic", - "method": "GET", - "url": "/repositories", - "documentationUrl": "https://developer.github.com/v3/repos/#list-public-repositories", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The integer ID of the last repository that you've seen.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List pull requests associated with a commit", - "scope": "repos", - "id": "listPullRequestsAssociatedWithCommit", - "method": "GET", - "url": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "documentationUrl": "https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "commit_sha", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [{ "name": "groot" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.groot-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"diff_url\":{\"type\":\"string\"},\"patch_url\":{\"type\":\"string\"},\"issue_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"review_comments_url\":{\"type\":\"string\"},\"review_comment_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"locked\":{\"type\":\"boolean\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"}}}},\"milestone\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"open_issues\":{\"type\":\"number\"},\"closed_issues\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"due_on\":{\"type\":\"string\"}}},\"active_lock_reason\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"merged_at\":{\"type\":\"string\"},\"merge_commit_sha\":{\"type\":\"string\"},\"assignee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assignees\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}},\"required\":[\"login\",\"id\",\"node_id\",\"avatar_url\",\"gravatar_id\",\"url\",\"html_url\",\"followers_url\",\"following_url\",\"gists_url\",\"starred_url\",\"subscriptions_url\",\"organizations_url\",\"repos_url\",\"events_url\",\"received_events_url\",\"type\",\"site_admin\"]}},\"requested_reviewers\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"requested_teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"head\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"base\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\"},\"ref\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"repo\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}},\"_links\":{\"type\":\"object\",\"properties\":{\"self\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"html\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"issue\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comments\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"review_comment\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"commits\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}},\"statuses\":{\"type\":\"object\",\"properties\":{\"href\":{\"type\":\"string\"}}}}},\"author_association\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List release assets", - "scope": "repos", - "id": "listReleaseAssets", - "method": "GET", - "url": "/repos/{owner}/{repo}/releases/{release_id}/assets", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#list-release-assets", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "release_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List releases", - "scope": "repos", - "id": "listReleases", - "method": "GET", - "url": "/repos/{owner}/{repo}/releases", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#list-releases", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"assets_url\":{\"type\":\"string\"},\"upload_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"},\"zipball_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"tag_name\":{\"type\":\"string\"},\"target_commitish\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"prerelease\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"published_at\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository tags", - "scope": "repos", - "id": "listTags", - "method": "GET", - "url": "/repos/{owner}/{repo}/tags", - "documentationUrl": "https://developer.github.com/v3/repos/#list-repository-tags", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"zipball_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository teams", - "scope": "repos", - "id": "listTeams", - "method": "GET", - "url": "/repos/{owner}/{repo}/teams", - "documentationUrl": "https://developer.github.com/v3/repos/#list-repository-teams", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], - "renamed": null - }, - { - "name": "List repository webhooks", - "scope": "repos", - "id": "listWebhooks", - "method": "GET", - "url": "/repos/{owner}/{repo}/hooks", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#list-repository-webhooks", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"active\":{\"type\":\"boolean\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"config\":{\"type\":\"object\",\"properties\":{\"content_type\":{\"type\":\"string\"},\"insecure_ssl\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"test_url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"last_response\":{\"type\":\"object\",\"properties\":{\"code\":{\"nullable\":true,\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"message\":{\"nullable\":true,\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Merge a branch", - "scope": "repos", - "id": "merge", - "method": "POST", - "url": "/repos/{owner}/{repo}/merges", - "documentationUrl": "https://developer.github.com/v3/repos/merging/#merge-a-branch", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the base branch that the head will be merged into.", - "enum": null, - "in": "BODY", - "name": "base", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The head to merge. This can be a branch name or a commit SHA1.", - "enum": null, - "in": "BODY", - "name": "head", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Commit message to use for the merge commit. If omitted, a default message will be used.", - "enum": null, - "in": "BODY", - "name": "commit_message", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "Successful Response (The resulting merge commit)", - "schema": "{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"date\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"url\":{\"type\":\"string\"},\"comment_count\":{\"type\":\"number\"},\"verification\":{\"type\":\"object\",\"properties\":{\"verified\":{\"type\":\"boolean\"},\"reason\":{\"nullable\":true,\"type\":\"string\"},\"signature\":{\"nullable\":true,\"type\":\"string\"},\"payload\":{\"nullable\":true,\"type\":\"string\"}}}}},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}},\"required\":[\"sha\",\"url\"]}}}}" - }, - { - "code": 404, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"}}}" - }, - { - "code": 409, - "description": "Merge conflict response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Ping a repository webhook", - "scope": "repos", - "id": "pingWebhook", - "method": "POST", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#ping-a-repository-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove app access restrictions", - "scope": "repos", - "id": "removeAppAccessRestrictions", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#remove-app-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "apps parameter", - "enum": null, - "in": "BODY", - "name": "apps", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Remove a repository collaborator", - "scope": "repos", - "id": "removeCollaborator", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/collaborators/{username}", - "documentationUrl": "https://developer.github.com/v3/repos/collaborators/#remove-a-repository-collaborator", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove status check contexts", - "scope": "repos", - "id": "removeStatusCheckContexts", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#remove-status-check-contexts", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "contexts parameter", - "enum": null, - "in": "BODY", - "name": "contexts", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"string\"}}" - } - ], - "renamed": null - }, - { - "name": "Remove status check protection", - "scope": "repos", - "id": "removeStatusCheckProtection", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#remove-status-check-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove team access restrictions", - "scope": "repos", - "id": "removeTeamAccessRestrictions", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#remove-team-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "teams parameter", - "enum": null, - "in": "BODY", - "name": "teams", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], - "renamed": null - }, - { - "name": "Remove user access restrictions", - "scope": "repos", - "id": "removeUserAccessRestrictions", - "method": "DELETE", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#remove-user-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "users parameter", - "enum": null, - "in": "BODY", - "name": "users", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Replace all repository topics", - "scope": "repos", - "id": "replaceAllTopics", - "method": "PUT", - "url": "/repos/{owner}/{repo}/topics", - "documentationUrl": "https://developer.github.com/v3/repos/#replace-all-repository-topics", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.", - "enum": null, - "in": "BODY", - "name": "names", - "type": "string[]", - "required": true - } - ], - "previews": [{ "name": "mercy" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.mercy-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"names\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Request a GitHub Pages build", - "scope": "repos", - "id": "requestPagesBuild", - "method": "POST", - "url": "/repos/{owner}/{repo}/pages/builds", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#request-a-github-pages-build", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"status\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Set admin branch protection", - "scope": "repos", - "id": "setAdminBranchProtection", - "method": "POST", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#set-admin-branch-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"enabled\":{\"type\":\"boolean\"}}}" - } - ], - "renamed": null - }, - { - "name": "Set app access restrictions", - "scope": "repos", - "id": "setAppAccessRestrictions", - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#set-app-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "apps parameter", - "enum": null, - "in": "BODY", - "name": "apps", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Set status check contexts", - "scope": "repos", - "id": "setStatusCheckContexts", - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#set-status-check-contexts", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "contexts parameter", - "enum": null, - "in": "BODY", - "name": "contexts", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"string\"}}" - } - ], - "renamed": null - }, - { - "name": "Set team access restrictions", - "scope": "repos", - "id": "setTeamAccessRestrictions", - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#set-team-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "teams parameter", - "enum": null, - "in": "BODY", - "name": "teams", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], - "renamed": null - }, - { - "name": "Set user access restrictions", - "scope": "repos", - "id": "setUserAccessRestrictions", - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#set-user-access-restrictions", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "users parameter", - "enum": null, - "in": "BODY", - "name": "users", - "type": "string[]", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], - "renamed": null - }, - { - "name": "Test the push repository webhook", - "scope": "repos", - "id": "testPushWebhook", - "method": "POST", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#test-the-push-repository-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Transfer a repository", - "scope": "repos", - "id": "transfer", - "method": "POST", - "url": "/repos/{owner}/{repo}/transfer", - "documentationUrl": "https://developer.github.com/v3/repos/#transfer-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "**Required:** The username or organization name the repository will be transferred to.", - "enum": null, - "in": "BODY", - "name": "new_owner", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.", - "enum": null, - "in": "BODY", - "name": "team_ids", - "type": "integer[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 202, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a repository", - "scope": "repos", - "id": "update", - "method": "PATCH", - "url": "/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/repos/#update-a-repository", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the repository.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A short description of the repository.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A URL with more information about the repository.", - "enum": null, - "in": "BODY", - "name": "homepage", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to make the repository private or `false` to make it public. Default: `false`. \n**Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.", - "enum": null, - "in": "BODY", - "name": "private", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header.", - "enum": ["public", "private", "visibility", "internal"], - "in": "BODY", - "name": "visibility", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable issues for this repository or `false` to disable them.", - "enum": null, - "in": "BODY", - "name": "has_issues", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.", - "enum": null, - "in": "BODY", - "name": "has_projects", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to enable the wiki for this repository or `false` to disable it.", - "enum": null, - "in": "BODY", - "name": "has_wiki", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to make this repo available as a template repository or `false` to prevent it.", - "enum": null, - "in": "BODY", - "name": "is_template", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Updates the default branch for this repository.", - "enum": null, - "in": "BODY", - "name": "default_branch", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.", - "enum": null, - "in": "BODY", - "name": "allow_squash_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.", - "enum": null, - "in": "BODY", - "name": "allow_merge_commit", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.", - "enum": null, - "in": "BODY", - "name": "allow_rebase_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.", - "enum": null, - "in": "BODY", - "name": "delete_branch_on_merge", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.", - "enum": null, - "in": "BODY", - "name": "archived", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"pull\":{\"type\":\"boolean\"},\"triage\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"maintain\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parent\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"source\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update branch protection", - "scope": "repos", - "id": "updateBranchProtection", - "method": "PUT", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#update-branch-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "Require status checks to pass before merging. Set to `null` to disable.", - "enum": null, - "in": "BODY", - "name": "required_status_checks", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Require branches to be up to date before merging.", - "enum": null, - "in": "BODY", - "name": "required_status_checks.strict", - "type": "boolean", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of status checks to require in order to merge into this branch", - "enum": null, - "in": "BODY", - "name": "required_status_checks.contexts", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.", - "enum": null, - "in": "BODY", - "name": "enforce_admins", - "type": "boolean", - "required": true - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "Require at least one approving review on a pull request, before merging. Set to `null` to disable.", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of user `login`s with dismissal access", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions.users", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of team `slug`s with dismissal access", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews.dismissal_restrictions.teams", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews.dismiss_stale_reviews", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) review them.", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews.require_code_owner_reviews", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6.", - "enum": null, - "in": "BODY", - "name": "required_pull_request_reviews.required_approving_review_count", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.", - "enum": null, - "in": "BODY", - "name": "restrictions", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of user `login`s with push access", - "enum": null, - "in": "BODY", - "name": "restrictions.users", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of team `slug`s with push access", - "enum": null, - "in": "BODY", - "name": "restrictions.teams", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of app `slug`s with push access", - "enum": null, - "in": "BODY", - "name": "restrictions.apps", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see \"[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)\".", - "enum": null, - "in": "BODY", - "name": "required_linear_history", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": true, - "deprecated": null, - "description": "Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\".", - "enum": null, - "in": "BODY", - "name": "allow_force_pushes", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see \"[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)\".", - "enum": null, - "in": "BODY", - "name": "allow_deletions", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"required_status_checks\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"strict\":{\"type\":\"boolean\"},\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"contexts_url\":{\"type\":\"string\"}}},\"enforce_admins\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"enabled\":{\"type\":\"boolean\"}}},\"required_pull_request_reviews\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"dismissal_restrictions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}}},\"dismiss_stale_reviews\":{\"type\":\"boolean\"},\"require_code_owner_reviews\":{\"type\":\"boolean\"},\"required_approving_review_count\":{\"type\":\"number\"}}},\"restrictions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"apps_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}},\"apps\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"slug\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"}}},\"name\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"external_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"metadata\":{\"type\":\"string\"},\"contents\":{\"type\":\"string\"},\"issues\":{\"type\":\"string\"},\"single_file\":{\"type\":\"string\"}}},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}}}}}},\"required_linear_history\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"allow_force_pushes\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"}}},\"allow_deletions\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update a commit comment", - "scope": "repos", - "id": "updateCommitComment", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/comments/{comment_id}", - "documentationUrl": "https://developer.github.com/v3/repos/comments/#update-a-commit-comment", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The contents of the comment", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"html_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"position\":{\"type\":\"number\"},\"line\":{\"type\":\"number\"},\"commit_id\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update information about a GitHub Pages site", - "scope": "repos", - "id": "updateInformationAboutPagesSite", - "method": "PUT", - "url": "/repos/{owner}/{repo}/pages", - "documentationUrl": "https://developer.github.com/v3/repos/pages/#update-information-about-a-github-pages-site", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see \"[Using a custom domain with GitHub Pages](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/).\"", - "enum": null, - "in": "BODY", - "name": "cname", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Update the source for the repository. Must include the branch name and path.", - "enum": null, - "in": "BODY", - "name": "source", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The repository branch used to publish your site's source files.", - "enum": null, - "in": "BODY", - "name": "source.branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`.", - "enum": ["/", "/docs"], - "in": "BODY", - "name": "source.path", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Update a repository invitation", - "scope": "repos", - "id": "updateInvitation", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", - "documentationUrl": "https://developer.github.com/v3/repos/invitations/#update-a-repository-invitation", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "invitation_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`.", - "enum": ["read", "write", "maintain", "triage", "admin"], - "in": "BODY", - "name": "permissions", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"}}},\"invitee\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"permissions\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update pull request review protection", - "scope": "repos", - "id": "updatePullRequestReviewProtection", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#update-pull-request-review-protection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.", - "enum": null, - "in": "BODY", - "name": "dismissal_restrictions", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of user `login`s with dismissal access", - "enum": null, - "in": "BODY", - "name": "dismissal_restrictions.users", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of team `slug`s with dismissal access", - "enum": null, - "in": "BODY", - "name": "dismissal_restrictions.teams", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.", - "enum": null, - "in": "BODY", - "name": "dismiss_stale_reviews", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed.", - "enum": null, - "in": "BODY", - "name": "require_code_owner_reviews", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6.", - "enum": null, - "in": "BODY", - "name": "required_approving_review_count", - "type": "integer", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"dismissal_restrictions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"users_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"users\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}},\"teams\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}}},\"dismiss_stale_reviews\":{\"type\":\"boolean\"},\"require_code_owner_reviews\":{\"type\":\"boolean\"},\"required_approving_review_count\":{\"type\":\"number\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a release", - "scope": "repos", - "id": "updateRelease", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/releases/{release_id}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#update-a-release", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "release_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the tag.", - "enum": null, - "in": "BODY", - "name": "tag_name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`).", - "enum": null, - "in": "BODY", - "name": "target_commitish", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the release.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Text describing the contents of the tag.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "`true` makes the release a draft, and `false` publishes the release.", - "enum": null, - "in": "BODY", - "name": "draft", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "`true` to identify the release as a prerelease, `false` to identify the release as a full release.", - "enum": null, - "in": "BODY", - "name": "prerelease", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"assets_url\":{\"type\":\"string\"},\"upload_url\":{\"type\":\"string\"},\"tarball_url\":{\"type\":\"string\"},\"zipball_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"tag_name\":{\"type\":\"string\"},\"target_commitish\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"draft\":{\"type\":\"boolean\"},\"prerelease\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"published_at\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"assets\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update a release asset", - "scope": "repos", - "id": "updateReleaseAsset", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#update-a-release-asset", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "asset_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The file name of the asset.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "An alternate short description of the asset. Used in place of the filename.", - "enum": null, - "in": "BODY", - "name": "label", - "type": "string", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Update status check potection", - "scope": "repos", - "id": "updateStatusCheckPotection", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - "documentationUrl": "https://developer.github.com/v3/repos/branches/#update-status-check-potection", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "branch", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Require branches to be up to date before merging.", - "enum": null, - "in": "BODY", - "name": "strict", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The list of status checks to require in order to merge into this branch", - "enum": null, - "in": "BODY", - "name": "contexts", - "type": "string[]", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"strict\":{\"type\":\"boolean\"},\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"contexts_url\":{\"type\":\"string\"}}}" - } - ], - "renamed": null - }, - { - "name": "Update a repository webhook", - "scope": "repos", - "id": "updateWebhook", - "method": "PATCH", - "url": "/repos/{owner}/{repo}/hooks/{hook_id}", - "documentationUrl": "https://developer.github.com/v3/repos/hooks/#update-a-repository-webhook", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "hook_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params).", - "enum": null, - "in": "BODY", - "name": "config", - "type": "object", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The URL to which the payloads will be delivered.", - "enum": null, - "in": "BODY", - "name": "config.url", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.", - "enum": null, - "in": "BODY", - "name": "config.content_type", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value in the [`X-Hub-Signature`](https://developer.github.com/webhooks/event-payloads/#delivery-headers) header.", - "enum": null, - "in": "BODY", - "name": "config.secret", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "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.**", - "enum": null, - "in": "BODY", - "name": "config.insecure_ssl", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.", - "enum": null, - "in": "BODY", - "name": "events", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines a list of events to be added to the list of events that the Hook triggers for.", - "enum": null, - "in": "BODY", - "name": "add_events", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines a list of events to be removed from the list of events that the Hook triggers for.", - "enum": null, - "in": "BODY", - "name": "remove_events", - "type": "string[]", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.", - "enum": null, - "in": "BODY", - "name": "active", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"type\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"name\":{\"type\":\"string\"},\"active\":{\"type\":\"boolean\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"config\":{\"type\":\"object\",\"properties\":{\"content_type\":{\"type\":\"string\"},\"insecure_ssl\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"}}},\"updated_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"test_url\":{\"type\":\"string\"},\"ping_url\":{\"type\":\"string\"},\"last_response\":{\"type\":\"object\",\"properties\":{\"code\":{\"nullable\":true,\"type\":\"string\"},\"status\":{\"type\":\"string\"},\"message\":{\"nullable\":true,\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Upload a release asset", - "scope": "repos", - "id": "uploadReleaseAsset", - "method": "POST", - "url": "{origin}/repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - "documentationUrl": "https://developer.github.com/v3/repos/releases/#upload-a-release-asset", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "owner parameter", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "repo parameter", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "release_id parameter", - "enum": null, - "in": "PATH", - "name": "release_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "name parameter", - "enum": null, - "in": "QUERY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "label parameter", - "enum": null, - "in": "QUERY", - "name": "label", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The raw file data", - "enum": null, - "in": "BODY", - "name": "data", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": null, - "deprecated": null, - "description": "The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the \"Create a release\" endpoint", - "enum": null, - "in": "PATH", - "name": "origin", - "type": "string", - "required": null - } - ], - "previews": [], - "headers": [ - { "name": "content-length", "value": null, "required": true }, - { "name": "content-type", "value": null, "required": true } - ], - "responses": [ - { - "code": 201, - "description": "Response for successful upload", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"browser_download_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"label\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"},\"content_type\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"download_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"uploader\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a SCIM user from an organization", - "scope": "scim", - "id": "deleteUserFromOrg", - "method": "DELETE", - "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Get SCIM provisioning information for a user", - "scope": "scim", - "id": "getProvisioningInformationForUser", - "method": "GET", - "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/scim/#get-scim-provisioning-information-for-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "tag" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "List SCIM provisioned identities", - "scope": "scim", - "id": "listProvisionedIdentities", "method": "GET", - "url": "/scim/v2/organizations/{org}/Users", - "documentationUrl": "https://developer.github.com/v3/scim/#list-scim-provisioned-identities", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-status-checks-protection", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Used for pagination: the index of the first result to return.", - "enum": null, - "in": "QUERY", - "name": "startIndex", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Used for pagination: the number of results to return.", - "enum": null, - "in": "QUERY", - "name": "count", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query:\n\n`?filter=userName%20eq%20\\\"Octocat\\\"`.\n\nTo filter results for for the identity with the email `octocat@github.com`, you would use this query:\n\n`?filter=emails%20eq%20\\\"octocat@github.com\\\"`.", - "enum": null, - "in": "QUERY", - "name": "filter", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"totalResults\":{\"type\":\"number\"},\"itemsPerPage\":{\"type\":\"number\"},\"startIndex\":{\"type\":\"number\"},\"Resources\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"},\"type\":{\"type\":\"string\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}}}}" - } - ], "renamed": null }, - { - "name": "Provision and invite a SCIM user", - "scope": "scim", - "id": "provisionAndInviteUser", - "method": "POST", - "url": "/scim/v2/organizations/{org}/Users", - "documentationUrl": "https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, - "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The username for the user.", - "enum": null, - "in": "BODY", - "name": "userName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "name", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The first name of the user.", - "enum": null, - "in": "BODY", - "name": "name.givenName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The last name of the user.", - "enum": null, - "in": "BODY", - "name": "name.familyName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of user emails.", - "enum": null, - "in": "BODY", - "name": "emails", - "type": "object[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email address.", - "enum": null, - "in": "BODY", - "name": "emails[].value", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The type of email address.", - "enum": null, - "in": "BODY", - "name": "emails[].type", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Whether this email address is the primary address.", - "enum": null, - "in": "BODY", - "name": "emails[].primary", - "type": "boolean", - "required": true - } + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/traffic/popular/paths", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-top-referral-paths", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "Set SCIM information for a provisioned user", - "scope": "scim", - "id": "setInformationForProvisionedUser", - "method": "PUT", - "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user", + "method": "GET", + "url": "/repos/{owner}/{repo}/traffic/popular/referrers", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-top-referral-sources", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, - "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The username for the user.", - "enum": null, - "in": "BODY", - "name": "userName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "BODY", - "name": "name", - "type": "object", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The first name of the user.", - "enum": null, - "in": "BODY", - "name": "name.givenName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The last name of the user.", - "enum": null, - "in": "BODY", - "name": "name.familyName", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "List of user emails.", - "enum": null, - "in": "BODY", - "name": "emails", - "type": "object[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The email address.", - "enum": null, - "in": "BODY", - "name": "emails[].value", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The type of email address.", - "enum": null, - "in": "BODY", - "name": "emails[].type", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Whether this email address is the primary address.", - "enum": null, - "in": "BODY", - "name": "emails[].primary", - "type": "boolean", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [], "renamed": null }, { - "name": "Update an attribute for a SCIM user", - "scope": "scim", - "id": "updateAttributeForUser", - "method": "PATCH", - "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", - "documentationUrl": "https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user", + "method": "GET", + "url": "/repos/{owner}/{repo}/traffic/views", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-page-views", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Identifier generated by the GitHub SCIM endpoint.", - "enum": null, - "in": "PATH", - "name": "scim_user_id", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The SCIM schema URIs.", - "enum": null, - "in": "BODY", - "name": "schemas", - "type": "string[]", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2).", - "enum": null, - "in": "BODY", - "name": "Operations", - "type": "object[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"schemas\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"id\":{\"type\":\"string\"},\"externalId\":{\"type\":\"string\"},\"userName\":{\"type\":\"string\"},\"name\":{\"type\":\"object\",\"properties\":{\"givenName\":{\"type\":\"string\"},\"familyName\":{\"type\":\"string\"}}},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"value\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"}}}},\"active\":{\"type\":\"boolean\"},\"meta\":{\"type\":\"object\",\"properties\":{\"resourceType\":{\"type\":\"string\"},\"created\":{\"type\":\"string\"},\"lastModified\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], + "previews": [], "renamed": null }, { - "name": "Search code", - "scope": "search", - "id": "code", "method": "GET", - "url": "/search/code", - "documentationUrl": "https://developer.github.com/v3/search/#search-code", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/config", + "documentationUrl": "https://docs.github.com/v3/repos#get-a-webhook-configuration-for-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See \"[Searching code](https://docs.github.com/articles/searching-code/)\" for a detailed list of qualifiers.", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results)", - "enum": ["indexed"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "enum": ["desc", "asc"], - "in": "QUERY", - "name": "order", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"path\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"}}},\"score\":{\"type\":\"number\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/branches", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-branches", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "protected" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Search commits", - "scope": "search", - "id": "commits", "method": "GET", - "url": "/search/commits", - "documentationUrl": "https://developer.github.com/v3/search/#search-commits", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-branches-for-head-commit", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" } + ], + "previews": [{ "name": "groot" }], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/collaborators", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-collaborators", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See \"[Searching commits](https://docs.github.com/articles/searching-commits/)\" for a detailed list of qualifiers.", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results)", - "enum": ["author-date", "committer-date"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "enum": ["desc", "asc"], - "in": "QUERY", - "name": "order", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "affiliation" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [{ "name": "cloak" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.cloak-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-commit-comments", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commit\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"author\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"date\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"}}},\"message\":{\"type\":\"string\"},\"tree\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}},\"comment_count\":{\"type\":\"number\"}}},\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"committer\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parents\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"sha\":{\"type\":\"string\"}}}},\"repository\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"}}},\"score\":{\"type\":\"number\"}}}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Search issues and pull requests", - "scope": "search", - "id": "issuesAndPullRequests", "method": "GET", - "url": "/search/issues", - "documentationUrl": "https://developer.github.com/v3/search/#search-issues-and-pull-requests", + "url": "/repos/{owner}/{repo}/commits/{ref}/statuses", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See \"[Searching issues and pull requests](https://docs.github.com/articles/searching-issues-and-pull-requests/)\" for a detailed list of qualifiers.", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://developer.github.com/v3/search/#ranking-search-results)", - "enum": [ - "comments", - "reactions", - "reactions-+1", - "reactions--1", - "reactions-smile", - "reactions-thinking_face", - "reactions-heart", - "reactions-tada", - "interactions", - "created", - "updated" - ], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "enum": ["desc", "asc"], - "in": "QUERY", - "name": "order", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"repository_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"title\":{\"type\":\"string\"},\"user\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"}}}},\"state\":{\"type\":\"string\"},\"assignee\":{\"nullable\":true,\"type\":\"string\"},\"milestone\":{\"nullable\":true,\"type\":\"string\"},\"comments\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"closed_at\":{\"nullable\":true,\"type\":\"string\"},\"pull_request\":{\"type\":\"object\",\"properties\":{\"html_url\":{\"nullable\":true,\"type\":\"string\"},\"diff_url\":{\"nullable\":true,\"type\":\"string\"},\"patch_url\":{\"nullable\":true,\"type\":\"string\"}}},\"body\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/commits", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-commits", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "path" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "author" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "until" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Search labels", - "scope": "search", - "id": "labels", "method": "GET", - "url": "/search/labels", - "documentationUrl": "https://developer.github.com/v3/search/#search-labels", + "url": "/repos/{owner}/{repo}/contributors", + "documentationUrl": "https://docs.github.com/v3/repos/#list-repository-contributors", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The id of the repository.", - "enum": null, - "in": "QUERY", - "name": "repository_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query).", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results)", - "enum": ["created", "updated"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "enum": ["desc", "asc"], - "in": "QUERY", - "name": "order", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "anon" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/keys", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deploy-keys", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"color\":{\"type\":\"string\"},\"default\":{\"type\":\"boolean\"},\"description\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"}},\"required\":[\"id\",\"node_id\",\"url\",\"name\",\"color\",\"default\",\"description\",\"score\"]}}}}" - } - ], "renamed": null }, { - "name": "Search repositories", - "scope": "search", - "id": "repos", "method": "GET", - "url": "/search/repositories", - "documentationUrl": "https://developer.github.com/v3/search/#search-repositories", + "url": "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deployment-statuses", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See \"[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)\" for a detailed list of qualifiers.", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true + "in": "PATH", + "name": "deployment_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/deployments", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-deployments", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "ref" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "task" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results)", - "enum": ["stars", "forks", "help-wanted-issues", "updated"], "in": "QUERY", - "name": "sort", - "type": "string", - "required": false + "name": "environment" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/repos", + "documentationUrl": "https://docs.github.com/v3/repos/#list-repositories-for-the-authenticated-user", + "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "enum": ["desc", "asc"], "in": "QUERY", - "name": "order", - "type": "string", - "required": false + "name": "visibility" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "affiliation" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "before" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"size\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"open_issues_count\":{\"type\":\"number\"},\"master_branch\":{\"type\":\"string\"},\"default_branch\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/repos", + "documentationUrl": "https://docs.github.com/v3/repos/#list-organization-repositories", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Search topics", - "scope": "search", - "id": "topics", "method": "GET", - "url": "/search/topics", - "documentationUrl": "https://developer.github.com/v3/search/#search-topics", + "url": "/users/{username}/repos", + "documentationUrl": "https://docs.github.com/v3/repos/#list-repositories-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query).", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "type" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "previews": [{ "name": "mercy" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.mercy-preview+json", - "required": true - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/forks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-forks", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"display_name\":{\"type\":\"string\"},\"short_description\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"created_by\":{\"type\":\"string\"},\"released\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"featured\":{\"type\":\"boolean\"},\"curated\":{\"type\":\"boolean\"},\"score\":{\"type\":\"number\"}},\"required\":[\"name\",\"display_name\",\"short_description\",\"description\",\"created_by\",\"released\",\"created_at\",\"updated_at\",\"featured\",\"curated\",\"score\"]}}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/invitations", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-invitations", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Search users", - "scope": "search", - "id": "users", "method": "GET", - "url": "/search/users", - "documentationUrl": "https://developer.github.com/v3/search/#search-users", + "url": "/user/repository_invitations", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See \"[Searching users](https://docs.github.com/articles/searching-users/)\" for a detailed list of qualifiers.", - "enum": null, - "in": "QUERY", - "name": "q", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results)", - "enum": ["followers", "repositories", "joined"], - "in": "QUERY", - "name": "sort", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`.", - "enum": ["desc", "asc"], - "in": "QUERY", - "name": "order", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"total_count\":{\"type\":\"number\"},\"incomplete_results\":{\"type\":\"boolean\"},\"items\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"score\":{\"type\":\"number\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/languages", + "documentationUrl": "https://docs.github.com/v3/repos/#list-repository-languages", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "Add team member (Legacy)", - "scope": "teams", - "id": "addMemberLegacy", - "method": "PUT", - "url": "/teams/{team_id}/members/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#add-team-member-legacy", + "method": "GET", + "url": "/repos/{owner}/{repo}/pages/builds", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-github-pages-builds", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 422, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"errors\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\"},\"field\":{\"type\":\"string\"},\"resource\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repositories", + "documentationUrl": "https://docs.github.com/v3/repos/#list-public-repositories", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "commit_sha" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [{ "name": "groot" }], "renamed": null }, { - "name": "Add or update team membership for a user", - "scope": "teams", - "id": "addOrUpdateMembershipForUserInOrg", - "method": "PUT", - "url": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user", + "method": "GET", + "url": "/repos/{owner}/{repo}/releases/{release_id}/assets", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-release-assets", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The role that this user should have in the team. Can be one of: \n\\* `member` - a normal member of the team. \n\\* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description.", - "enum": ["member", "maintainer"], - "in": "BODY", - "name": "role", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"}}}" - }, - { - "code": 422, - "description": "Response if you attempt to add an organization to a team", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"errors\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\"},\"field\":{\"type\":\"string\"},\"resource\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/releases", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-releases", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [], "renamed": null }, { - "name": "Add or update team membership for a user (Legacy)", - "scope": "teams", - "id": "addOrUpdateMembershipForUserLegacy", - "method": "PUT", - "url": "/teams/{team_id}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user-legacy", + "method": "GET", + "url": "/repos/{owner}/{repo}/tags", + "documentationUrl": "https://docs.github.com/v3/repos/#list-repository-tags", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/teams", + "documentationUrl": "https://docs.github.com/v3/repos/#list-repository-teams", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/repos/{owner}/{repo}/hooks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-webhooks", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/merges", + "documentationUrl": "https://docs.github.com/rest/reference/repos#merge-a-branch", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "base" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "head" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "The role that this user should have in the team. Can be one of: \n\\* `member` - a normal member of the team. \n\\* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description.", - "enum": ["member", "maintainer"], "in": "BODY", - "name": "role", - "type": "string", - "required": false + "name": "commit_message" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"}}}" - }, - { - "code": 422, - "description": "Response if you attempt to add an organization to a team", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"errors\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"string\"},\"field\":{\"type\":\"string\"},\"resource\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/pings", + "documentationUrl": "https://docs.github.com/rest/reference/repos#ping-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-app-access-restrictions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/collaborators/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-status-check-contexts", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-status-check-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-team-access-restrictions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "teams" } ], + "previews": [], "renamed": null }, { - "name": "Add or update team project permissions", - "scope": "teams", - "id": "addOrUpdateProjectPermissionsInOrg", - "method": "PUT", - "url": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#add-or-update-team-project-permissions", + "method": "DELETE", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "documentationUrl": "https://docs.github.com/rest/reference/repos#remove-user-access-restrictions", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission to grant to the team for this project. Can be one of: \n\\* `read` - team members can read, but not write to or administer this project. \n\\* `write` - team members can read and write, but not administer this project. \n\\* `admin` - team members can read, write and administer this project. \nDefault: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"", - "enum": ["read", "write", "admin"], - "in": "BODY", - "name": "permission", - "type": "string", - "required": false - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 403, - "description": "Response if the project is not owned by the organization", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "users" } ], + "previews": [], "renamed": null }, { - "name": "Add or update team project permissions (Legacy)", - "scope": "teams", - "id": "addOrUpdateProjectPermissionsLegacy", "method": "PUT", - "url": "/teams/{team_id}/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#add-or-update-team-project-permissions-legacy", + "url": "/repos/{owner}/{repo}/topics", + "documentationUrl": "https://docs.github.com/v3/repos/#replace-all-repository-topics", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission to grant to the team for this project. Can be one of: \n\\* `read` - team members can read, but not write to or administer this project. \n\\* `write` - team members can read and write, but not administer this project. \n\\* `admin` - team members can read, write and administer this project. \nDefault: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://developer.github.com/v3/#http-verbs).\"", - "enum": ["read", "write", "admin"], - "in": "BODY", - "name": "permission", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "names" } ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } + "previews": [{ "name": "mercy" }], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/pages/builds", + "documentationUrl": "https://docs.github.com/rest/reference/repos#request-a-github-pages-build", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], - "responses": [ - { - "code": 403, - "description": "Response if the project is not owned by the organization", - "schema": "{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"documentation_url\":{\"type\":\"string\"}}}" - } + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-admin-branch-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" } ], + "previews": [], "renamed": null }, { - "name": "Add or update team repository permissions", - "scope": "teams", - "id": "addOrUpdateRepoPermissionsInOrg", "method": "PUT", - "url": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-app-access-restrictions", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission to grant the team on this repository. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer this repository. \n\\* `push` - team members can pull and push, but not administer this repository. \n\\* `admin` - team members can pull, push and administer this repository. \n\\* `maintain` - team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. \n\\* `triage` - team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations. \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", - "enum": ["pull", "push", "admin", "maintain", "triage"], - "in": "BODY", - "name": "permission", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "apps" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Add or update team repository permissions (Legacy)", - "scope": "teams", - "id": "addOrUpdateRepoPermissionsLegacy", "method": "PUT", - "url": "/teams/{team_id}/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-status-check-contexts", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The permission to grant the team on this repository. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer this repository. \n\\* `push` - team members can pull and push, but not administer this repository. \n\\* `admin` - team members can pull, push and administer this repository. \n \nIf no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.", - "enum": ["pull", "push", "admin"], - "in": "BODY", - "name": "permission", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Check team permissions for a project", - "scope": "teams", - "id": "checkPermissionsForProjectInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#check-team-permissions-for-a-project", + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-team-access-restrictions", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization_permission\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"read\":{\"type\":\"boolean\"},\"write\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "teams" } ], + "previews": [], "renamed": null }, { - "name": "Check team permissions for a project (Legacy)", - "scope": "teams", - "id": "checkPermissionsForProjectLegacy", - "method": "GET", - "url": "/teams/{team_id}/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#check-team-permissions-for-a-project-legacy", + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "documentationUrl": "https://docs.github.com/rest/reference/repos#set-user-access-restrictions", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - } - ], - "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization_permission\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"read\":{\"type\":\"boolean\"},\"write\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}" - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "users" } ], + "previews": [], "renamed": null }, { - "name": "Check team permissions for a repository", - "scope": "teams", - "id": "checkPermissionsForRepoInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository", + "method": "POST", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/tests", + "documentationUrl": "https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Alternative response with repository permissions", - "schema": "{\"type\":\"object\",\"properties\":{\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parent\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"source\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"permissions\":{\"type\":\"object\",\"properties\":{\"pull\":{\"type\":\"boolean\"},\"triage\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"maintain\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}" - } - ], "renamed": null }, { - "name": "Check team permissions for a repository (Legacy)", - "scope": "teams", - "id": "checkPermissionsForRepoLegacy", - "method": "GET", - "url": "/teams/{team_id}/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy", + "method": "POST", + "url": "/repos/{owner}/{repo}/transfer", + "documentationUrl": "https://docs.github.com/v3/repos/#transfer-a-repository", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "new_owner" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "team_ids" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Alternative response with extra repository information", - "schema": "{\"type\":\"object\",\"properties\":{\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"parent\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"source\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"allow_rebase_merge\":{\"type\":\"boolean\"},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"allow_squash_merge\":{\"type\":\"boolean\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"allow_merge_commit\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"}}},\"permissions\":{\"type\":\"object\",\"properties\":{\"pull\":{\"type\":\"boolean\"},\"triage\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"maintain\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}" - } - ], "renamed": null }, { - "name": "Create a team", - "scope": "teams", - "id": "create", - "method": "POST", - "url": "/orgs/{org}/teams", - "documentationUrl": "https://developer.github.com/v3/teams/#create-a-team", + "method": "PATCH", + "url": "/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/repos/#update-a-repository", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "homepage" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_issues" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The name of the team.", - "enum": null, "in": "BODY", - "name": "name", - "type": "string", - "required": true + "name": "has_projects" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "has_wiki" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The description of the team.", - "enum": null, "in": "BODY", - "name": "description", - "type": "string", - "required": false + "name": "is_template" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "List GitHub IDs for organization members who will become team maintainers.", - "enum": null, "in": "BODY", - "name": "maintainers", - "type": "string[]", - "required": false + "name": "default_branch" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The full name (e.g., \"organization-name/repository-name\") of repositories to add the team to.", - "enum": null, "in": "BODY", - "name": "repo_names", - "type": "string[]", - "required": false + "name": "allow_squash_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The level of privacy this team should have. The options are: \n**For a non-nested team:** \n\\* `secret` - only visible to organization owners and members of this team. \n\\* `closed` - visible to all members of this organization. \nDefault: `secret` \n**For a parent or child team:** \n\\* `closed` - visible to all members of this organization. \nDefault for child team: `closed`", - "enum": ["secret", "closed"], "in": "BODY", - "name": "privacy", - "type": "string", - "required": false + "name": "allow_merge_commit" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer newly-added repositories. \n\\* `push` - team members can pull and push, but not administer newly-added repositories. \n\\* `admin` - team members can pull, push and administer newly-added repositories.", - "enum": ["pull", "push", "admin"], "in": "BODY", - "name": "permission", - "type": "string", - "required": false + "name": "allow_rebase_merge" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The ID of a team to set as the parent team.", - "enum": null, "in": "BODY", - "name": "parent_team_id", - "type": "integer", - "required": false - } + "name": "delete_branch_on_merge" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "archived" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true},\"members_count\":{\"type\":\"number\"},\"repos_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Create a discussion comment", - "scope": "teams", - "id": "createDiscussionCommentInOrg", - "method": "POST", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment", + "method": "PUT", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-branch-protection", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "required_status_checks" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "required_status_checks.strict" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The discussion comment's body text.", - "enum": null, "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "required_status_checks.contexts" + }, { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a discussion comment (Legacy)", - "scope": "teams", - "id": "createDiscussionCommentLegacy", - "method": "POST", - "url": "/teams/{team_id}/discussions/{discussion_number}/comments", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment-legacy", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "enforce_admins" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "required_pull_request_reviews" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "required_pull_request_reviews.dismissal_restrictions" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The discussion comment's body text.", - "enum": null, "in": "BODY", - "name": "body", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "required_pull_request_reviews.dismissal_restrictions.users" + }, { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a discussion", - "scope": "teams", - "id": "createDiscussionInOrg", - "method": "POST", - "url": "/orgs/{org}/teams/{team_slug}/discussions", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#create-a-discussion", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_pull_request_reviews.dismissal_restrictions.teams" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "required_pull_request_reviews.dismiss_stale_reviews" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "required_pull_request_reviews.require_code_owner_reviews" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The discussion post's title.", - "enum": null, "in": "BODY", - "name": "title", - "type": "string", - "required": true + "name": "required_pull_request_reviews.required_approving_review_count" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The discussion post's body text.", - "enum": null, "in": "BODY", - "name": "body", - "type": "string", - "required": true + "name": "restrictions" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", - "enum": null, "in": "BODY", - "name": "private", - "type": "boolean", - "required": false - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "restrictions.users" + }, { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Create a discussion (Legacy)", - "scope": "teams", - "id": "createDiscussionLegacy", - "method": "POST", - "url": "/teams/{team_id}/discussions", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "restrictions.teams" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "restrictions.apps" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The discussion post's title.", - "enum": null, "in": "BODY", - "name": "title", - "type": "string", - "required": true + "name": "required_linear_history" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The discussion post's body text.", - "enum": null, "in": "BODY", - "name": "body", - "type": "string", - "required": true + "name": "allow_force_pushes" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.", - "enum": null, "in": "BODY", - "name": "private", - "type": "boolean", - "required": false + "name": "allow_deletions" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/comments/{comment_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-commit-comment", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "comment_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/repos/{owner}/{repo}/pages", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "cname" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "source" } ], + "previews": [], "renamed": null }, { - "name": "Create or update IdP group connections", - "scope": "teams", - "id": "createOrUpdateIdPGroupConnectionsInOrg", "method": "PATCH", - "url": "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", - "documentationUrl": "https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections", + "url": "/repos/{owner}/{repo}/invitations/{invitation_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-repository-invitation", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true + "name": "invitation_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permissions" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-pull-request-review-protection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "dismissal_restrictions" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove.", - "enum": null, "in": "BODY", - "name": "groups", - "type": "object[]", - "required": true + "name": "dismissal_restrictions.users" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "ID of the IdP group.", - "enum": null, "in": "BODY", - "name": "groups[].group_id", - "type": "string", - "required": true + "name": "dismissal_restrictions.teams" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Name of the IdP group.", - "enum": null, "in": "BODY", - "name": "groups[].group_name", - "type": "string", - "required": true + "name": "dismiss_stale_reviews" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Description of the IdP group.", - "enum": null, "in": "BODY", - "name": "groups[].group_description", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "name": "require_code_owner_reviews" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"groups\":{\"type\":\"object\",\"properties\":{\"group_id\":{\"type\":\"string\"},\"group_name\":{\"type\":\"string\"},\"group_description\":{\"type\":\"string\"}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "required_approving_review_count" } ], + "previews": [], "renamed": null }, { - "name": "Create or update IdP group connections (Legacy)", - "scope": "teams", - "id": "createOrUpdateIdPGroupConnectionsLegacy", "method": "PATCH", - "url": "/teams/{team_id}/team-sync/group-mappings", - "documentationUrl": "https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections-legacy", + "url": "/repos/{owner}/{repo}/releases/{release_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-release", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "tag_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "target_commitish" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "draft" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "prerelease" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-release-asset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "asset_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "label" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "state" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-status-check-potection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "strict" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-a-repository-webhook", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "config.url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove.", - "enum": null, "in": "BODY", - "name": "groups", - "type": "object[]", - "required": true + "name": "config.content_type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "ID of the IdP group.", - "enum": null, "in": "BODY", - "name": "groups[].group_id", - "type": "string", - "required": true + "name": "config.secret" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Name of the IdP group.", - "enum": null, "in": "BODY", - "name": "groups[].group_name", - "type": "string", - "required": true + "name": "config.insecure_ssl" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Description of the IdP group.", - "enum": null, "in": "BODY", - "name": "groups[].group_description", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"group_id\":{\"type\":\"string\"},\"group_name\":{\"type\":\"string\"},\"group_description\":{\"type\":\"string\"}}}}}}" - } - ], - "renamed": null - }, - { - "name": "Delete a discussion comment", - "scope": "teams", - "id": "deleteDiscussionCommentInOrg", - "method": "DELETE", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment", - "parameters": [ + "name": "config.address" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "config.room" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "events" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "add_events" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "remove_events" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/repos/{owner}/{repo}/hooks/{hook_id}/config", + "documentationUrl": "https://docs.github.com/v3/repos#update-a-webhook-configuration-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "hook_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "url" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "content_type" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "secret" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "insecure_ssl" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a discussion comment (Legacy)", - "scope": "teams", - "id": "deleteDiscussionCommentLegacy", + "method": "PATCH", + "url": "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "documentationUrl": "https://docs.github.com/rest/reference/repos#update-status-check-potection", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "branch" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "strict" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "contexts" } + ], + "previews": [], + "renamed": { + "note": "\"repos/updateStatusCheckPotection\" operation ID is now \"repos/updateStatusCheckProtection\"" + } + }, + { + "method": "POST", + "url": "{origin}/repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", + "documentationUrl": "https://docs.github.com/rest/reference/repos#upload-a-release-asset", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "release_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "label" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "data" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "origin" } + ], + "previews": [], + "renamed": null + }, + { "method": "DELETE", - "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment-legacy", + "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/v3/scim/#delete-a-scim-user-from-an-organization", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, + "name": "scim_user_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/v3/scim/#get-scim-provisioning-information-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, + "name": "scim_user_id" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/scim/v2/organizations/{org}/Users", + "documentationUrl": "https://docs.github.com/v3/scim/#list-scim-provisioned-identities", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - } + "in": "QUERY", + "name": "startIndex" + }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "count" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "filter" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a discussion", - "scope": "teams", - "id": "deleteDiscussionInOrg", - "method": "DELETE", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#delete-a-discussion", + "method": "POST", + "url": "/scim/v2/organizations/{org}/Users", + "documentationUrl": "https://docs.github.com/v3/scim/#provision-and-invite-a-scim-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "userName" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "displayName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "name.givenName" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a discussion (Legacy)", - "scope": "teams", - "id": "deleteDiscussionLegacy", - "method": "DELETE", - "url": "/teams/{team_id}/discussions/{discussion_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy", - "parameters": [ + "in": "BODY", + "name": "name.familyName" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "name.formatted" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "emails" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Delete a team", - "scope": "teams", - "id": "deleteInOrg", - "method": "DELETE", - "url": "/orgs/{org}/teams/{team_slug}", - "documentationUrl": "https://developer.github.com/v3/teams/#delete-a-team", - "parameters": [ + "in": "BODY", + "name": "emails[].value" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "emails[].primary" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - } + "in": "BODY", + "name": "emails[].type" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "externalId" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "groups" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a team (Legacy)", - "scope": "teams", - "id": "deleteLegacy", - "method": "DELETE", - "url": "/teams/{team_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#delete-a-team-legacy", + "method": "PUT", + "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/v3/scim/#set-scim-information-for-a-provisioned-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Get a team by name", - "scope": "teams", - "id": "getByName", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}", - "documentationUrl": "https://developer.github.com/v3/teams/#get-a-team-by-name", - "parameters": [ + "name": "scim_user_id" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "displayName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "externalId" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "groups" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "active" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "userName" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "name.givenName" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true},\"members_count\":{\"type\":\"number\"},\"repos_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}" - } - ], - "renamed": null - }, - { - "name": "Get a discussion comment", - "scope": "teams", - "id": "getDiscussionCommentInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment", - "parameters": [ + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "name.familyName" + }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "name.formatted" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "emails" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "emails[].type" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "emails[].value" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "emails[].primary" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Get a discussion comment (Legacy)", - "scope": "teams", - "id": "getDiscussionCommentLegacy", - "method": "GET", - "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment-legacy", + "method": "PATCH", + "url": "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "documentationUrl": "https://docs.github.com/v3/scim/#update-an-attribute-for-a-scim-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "name": "scim_user_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "schemas" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "Operations" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "Operations[].op" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [ + "in": "BODY", + "name": "Operations[].path" + }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" + "alias": null, + "deprecated": null, + "in": "BODY", + "name": "Operations[].value" } ], + "previews": [], "renamed": null }, { - "name": "Get a discussion", - "scope": "teams", - "id": "getDiscussionInOrg", "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#get-a-discussion", + "url": "/search/code", + "documentationUrl": "https://docs.github.com/v3/search/#search-code", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "order" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/search/commits", + "documentationUrl": "https://docs.github.com/v3/search/#search-commits", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "order" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], + "previews": [{ "name": "cloak" }], "renamed": null }, { - "name": "Get a discussion (Legacy)", - "scope": "teams", - "id": "getDiscussionLegacy", "method": "GET", - "url": "/teams/{team_id}/discussions/{discussion_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#get-a-discussion-legacy", + "url": "/search/issues", + "documentationUrl": "https://docs.github.com/v3/search/#search-issues-and-pull-requests", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "order" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/search/labels", + "documentationUrl": "https://docs.github.com/v3/search/#search-labels", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "in": "QUERY", + "name": "repository_id" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "order" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Get a team (Legacy)", - "scope": "teams", - "id": "getLegacy", "method": "GET", - "url": "/teams/{team_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#get-a-team-legacy", + "url": "/search/repositories", + "documentationUrl": "https://docs.github.com/v3/search/#search-repositories", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "order" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true},\"members_count\":{\"type\":\"number\"},\"repos_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/search/topics", + "documentationUrl": "https://docs.github.com/v3/search/#search-topics", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" } ], + "previews": [{ "name": "mercy" }], "renamed": null }, { - "name": "Get team member (Legacy)", - "scope": "teams", - "id": "getMemberLegacy", "method": "GET", + "url": "/search/users", + "documentationUrl": "https://docs.github.com/v3/search/#search-users", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "q" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "sort" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "order" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", "url": "/teams/{team_id}/members/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#get-team-member-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#add-team-member-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get team membership for a user", - "scope": "teams", - "id": "getMembershipForUserInOrg", - "method": "GET", + "method": "PUT", "url": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "role" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get team membership for a user (Legacy)", - "scope": "teams", - "id": "getMembershipForUserLegacy", - "method": "GET", + "method": "PUT", "url": "/teams/{team_id}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "role" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"state\":{\"type\":\"string\"}}}" - } + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#add-or-update-team-project-permissions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "PUT", + "url": "/teams/{team_id}/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#add-or-update-team-project-permissions-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "PUT", + "url": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/teams/#add-or-update-team-repository-permissions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PUT", + "url": "/teams/{team_id}/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#check-team-permissions-for-a-project", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#check-team-permissions-for-a-project-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" } + ], + "previews": [{ "name": "inertia" }], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/teams/#check-team-permissions-for-a-repository", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], + "previews": [], "renamed": null }, { - "name": "List teams", - "scope": "teams", - "id": "list", "method": "GET", + "url": "/teams/{team_id}/repos/{owner}/{repo}", + "documentationUrl": "https://docs.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", "url": "/orgs/{org}/teams", - "documentationUrl": "https://developer.github.com/v3/teams/#list-teams", + "documentationUrl": "https://docs.github.com/v3/teams/#create-a-team", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "maintainers" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "repo_names" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "privacy" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "parent_team_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true}}}}" - } - ], "renamed": null }, { - "name": "List child teams", - "scope": "teams", - "id": "listChildInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/teams", - "documentationUrl": "https://developer.github.com/v3/teams/#list-child-teams", + "method": "POST", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-a-discussion-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true + "name": "discussion_number" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } + ], + "previews": [], + "renamed": null + }, + { + "method": "POST", + "url": "/teams/{team_id}/discussions/{discussion_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "discussion_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if child teams exist", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"}}}}}}" - } + "renamed": null + }, + { + "method": "POST", + "url": "/orgs/{org}/teams/{team_slug}/discussions", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-a-discussion", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } ], + "previews": [], "renamed": null }, { - "name": "List child teams (Legacy)", - "scope": "teams", - "id": "listChildLegacy", - "method": "GET", - "url": "/teams/{team_id}/teams", - "documentationUrl": "https://developer.github.com/v3/teams/#list-child-teams-legacy", + "method": "POST", + "url": "/teams/{team_id}/discussions", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-a-discussion-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "private" } + ], + "previews": [], + "renamed": null + }, + { + "method": "PATCH", + "url": "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "groups" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "in": "BODY", + "name": "groups[].group_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "groups[].group_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "BODY", + "name": "groups[].group_description" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "Response if child teams exist", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "List discussion comments", - "scope": "teams", - "id": "listDiscussionCommentsInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments", + "method": "PATCH", + "url": "/teams/{team_id}/team-sync/group-mappings", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "groups" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true + "in": "BODY", + "name": "groups[].group_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true + "in": "BODY", + "name": "groups[].group_name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "in": "BODY", + "name": "groups[].group_description" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false + "in": "BODY", + "name": "groups[].id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "BODY", + "name": "groups[].name" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + "in": "BODY", + "name": "groups[].description" + }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "synced_at" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}}" - } - ], "renamed": null }, { - "name": "List discussion comments (Legacy)", - "scope": "teams", - "id": "listDiscussionCommentsLegacy", - "method": "GET", - "url": "/teams/{team_id}/discussions/{discussion_number}/comments", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy", + "method": "DELETE", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#delete-a-discussion-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "name": "comment_number" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}}" - } - ], "renamed": null }, { - "name": "List discussions", - "scope": "teams", - "id": "listDiscussionsInOrg", - "method": "GET", - "url": "/orgs/{org}/teams/{team_slug}/discussions", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#list-discussions", + "method": "DELETE", + "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, + "name": "comment_number" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#delete-a-discussion", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, + "in": "PATH", + "name": "discussion_number" + } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/teams/{team_id}/discussions/{discussion_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "discussion_number" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}}" - } + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/teams/{team_slug}", + "documentationUrl": "https://docs.github.com/v3/teams/#delete-a-team", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/teams/{team_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#delete-a-team-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" } ], + "previews": [], "renamed": null }, { - "name": "List discussions (Legacy)", - "scope": "teams", - "id": "listDiscussionsLegacy", "method": "GET", - "url": "/teams/{team_id}/discussions", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#list-discussions-legacy", + "url": "/orgs/{org}/teams/{team_slug}", + "documentationUrl": "https://docs.github.com/v3/teams/#get-a-team-by-name", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-a-discussion-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`.", - "enum": ["asc", "desc"], - "in": "QUERY", - "name": "direction", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "comment_number" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}}" - } - ], "renamed": null }, { - "name": "List teams for the authenticated user", - "scope": "teams", - "id": "listForAuthenticatedUser", "method": "GET", - "url": "/user/teams", - "documentationUrl": "https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user", + "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false + "in": "PATH", + "name": "comment_number" } ], "previews": [], - "headers": [], - "responses": [ + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-a-discussion", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true},\"members_count\":{\"type\":\"number\"},\"repos_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}}" + "alias": null, + "deprecated": null, + "in": "PATH", + "name": "discussion_number" } ], + "previews": [], "renamed": null }, { - "name": "List IdP groups for a team (Legacy)", - "scope": "teams", - "id": "listIdPGroupsForLegacy", "method": "GET", - "url": "/teams/{team_id}/team-sync/group-mappings", - "documentationUrl": "https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy", + "url": "/teams/{team_id}/discussions/{discussion_number}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-a-discussion-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "name": "discussion_number" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"group_id\":{\"type\":\"string\"},\"group_name\":{\"type\":\"string\"},\"group_description\":{\"type\":\"string\"}},\"required\":[\"group_id\",\"group_name\",\"group_description\"]}}}}" - } + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#get-a-team-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" } ], + "previews": [], "renamed": null }, { - "name": "List IdP groups for an organization", - "scope": "teams", - "id": "listIdPGroupsForOrg", "method": "GET", - "url": "/orgs/{org}/team-sync/groups", - "documentationUrl": "https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization", + "url": "/teams/{team_id}/members/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-team-member-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/memberships/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}/memberships/{username}", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams", + "documentationUrl": "https://docs.github.com/v3/teams/#list-teams", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/teams", + "documentationUrl": "https://docs.github.com/v3/teams/#list-child-teams", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}/teams", + "documentationUrl": "https://docs.github.com/v3/teams/#list-child-teams-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-discussion-comments", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "org", - "type": "string", - "required": true + "name": "discussion_number" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}/discussions/{discussion_number}/comments", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false + "in": "PATH", + "name": "discussion_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/teams/{team_slug}/discussions", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-discussions", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}/discussions", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-discussions-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "direction" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/user/teams", + "documentationUrl": "https://docs.github.com/v3/teams/#list-teams-for-the-authenticated-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/teams/{team_id}/team-sync/group-mappings", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" } + ], + "previews": [], + "renamed": null + }, + { + "method": "GET", + "url": "/orgs/{org}/team-sync/groups", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"group_id\":{\"type\":\"string\"},\"group_name\":{\"type\":\"string\"},\"group_description\":{\"type\":\"string\"}},\"required\":[\"group_id\",\"group_name\",\"group_description\"]}}}}" - } - ], "renamed": null }, { - "name": "List IdP groups for a team", - "scope": "teams", - "id": "listIdPGroupsInOrg", "method": "GET", "url": "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", - "documentationUrl": "https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"groups\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"group_id\":{\"type\":\"string\"},\"group_name\":{\"type\":\"string\"},\"group_description\":{\"type\":\"string\"}},\"required\":[\"group_id\",\"group_name\",\"group_description\"]}}}}" - } - ], "renamed": null }, { - "name": "List team members", - "scope": "teams", - "id": "listMembersInOrg", "method": "GET", "url": "/orgs/{org}/teams/{team_slug}/members", - "documentationUrl": "https://developer.github.com/v3/teams/members/#list-team-members", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-team-members", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters members returned by their role in the team. Can be one of: \n\\* `member` - normal members of the team. \n\\* `maintainer` - team maintainers. \n\\* `all` - all members of the team.", - "enum": ["member", "maintainer", "all"], - "in": "QUERY", - "name": "role", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "role" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List team members (Legacy)", - "scope": "teams", - "id": "listMembersLegacy", "method": "GET", "url": "/teams/{team_id}/members", - "documentationUrl": "https://developer.github.com/v3/teams/members/#list-team-members-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-team-members-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Filters members returned by their role in the team. Can be one of: \n\\* `member` - normal members of the team. \n\\* `maintainer` - team maintainers. \n\\* `all` - all members of the team.", - "enum": ["member", "maintainer", "all"], - "in": "QUERY", - "name": "role", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "role" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List pending team invitations", - "scope": "teams", - "id": "listPendingInvitationsInOrg", "method": "GET", "url": "/orgs/{org}/teams/{team_slug}/invitations", - "documentationUrl": "https://developer.github.com/v3/teams/members/#list-pending-team-invitations", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-pending-team-invitations", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"team_count\":{\"type\":\"number\"},\"invitation_team_url\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List pending team invitations (Legacy)", - "scope": "teams", - "id": "listPendingInvitationsLegacy", "method": "GET", "url": "/teams/{team_id}/invitations", - "documentationUrl": "https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"login\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"role\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"inviter\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"team_count\":{\"type\":\"number\"},\"invitation_team_url\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List team projects", - "scope": "teams", - "id": "listProjectsInOrg", "method": "GET", "url": "/orgs/{org}/teams/{team_slug}/projects", - "documentationUrl": "https://developer.github.com/v3/teams/#list-team-projects", + "documentationUrl": "https://docs.github.com/v3/teams/#list-team-projects", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization_permission\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"read\":{\"type\":\"boolean\"},\"write\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}}" - } - ], "renamed": null }, { - "name": "List team projects (Legacy)", - "scope": "teams", - "id": "listProjectsLegacy", "method": "GET", "url": "/teams/{team_id}/projects", - "documentationUrl": "https://developer.github.com/v3/teams/#list-team-projects-legacy", + "documentationUrl": "https://docs.github.com/v3/teams/#list-team-projects-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [{ "name": "inertia" }], - "headers": [ - { - "name": "accept", - "value": "application/vnd.github.inertia-preview+json", - "required": true - } - ], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"owner_url\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"columns_url\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"body\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"state\":{\"type\":\"string\"},\"creator\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization_permission\":{\"type\":\"string\"},\"private\":{\"type\":\"boolean\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"read\":{\"type\":\"boolean\"},\"write\":{\"type\":\"boolean\"},\"admin\":{\"type\":\"boolean\"}}}}}}" - } - ], "renamed": null }, { - "name": "List team repositories", - "scope": "teams", - "id": "listReposInOrg", "method": "GET", "url": "/orgs/{org}/teams/{team_slug}/repos", - "documentationUrl": "https://developer.github.com/v3/teams/#list-team-repositories", + "documentationUrl": "https://docs.github.com/v3/teams/#list-team-repositories", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "List team repositories (Legacy)", - "scope": "teams", - "id": "listReposLegacy", "method": "GET", "url": "/teams/{team_id}/repos", - "documentationUrl": "https://developer.github.com/v3/teams/#list-team-repositories-legacy", + "documentationUrl": "https://docs.github.com/v3/teams/#list-team-repositories-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"full_name\":{\"type\":\"string\"},\"owner\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"private\":{\"type\":\"boolean\"},\"html_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"fork\":{\"type\":\"boolean\"},\"url\":{\"type\":\"string\"},\"archive_url\":{\"type\":\"string\"},\"assignees_url\":{\"type\":\"string\"},\"blobs_url\":{\"type\":\"string\"},\"branches_url\":{\"type\":\"string\"},\"collaborators_url\":{\"type\":\"string\"},\"comments_url\":{\"type\":\"string\"},\"commits_url\":{\"type\":\"string\"},\"compare_url\":{\"type\":\"string\"},\"contents_url\":{\"type\":\"string\"},\"contributors_url\":{\"type\":\"string\"},\"deployments_url\":{\"type\":\"string\"},\"downloads_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"forks_url\":{\"type\":\"string\"},\"git_commits_url\":{\"type\":\"string\"},\"git_refs_url\":{\"type\":\"string\"},\"git_tags_url\":{\"type\":\"string\"},\"git_url\":{\"type\":\"string\"},\"issue_comment_url\":{\"type\":\"string\"},\"issue_events_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"keys_url\":{\"type\":\"string\"},\"labels_url\":{\"type\":\"string\"},\"languages_url\":{\"type\":\"string\"},\"merges_url\":{\"type\":\"string\"},\"milestones_url\":{\"type\":\"string\"},\"notifications_url\":{\"type\":\"string\"},\"pulls_url\":{\"type\":\"string\"},\"releases_url\":{\"type\":\"string\"},\"ssh_url\":{\"type\":\"string\"},\"stargazers_url\":{\"type\":\"string\"},\"statuses_url\":{\"type\":\"string\"},\"subscribers_url\":{\"type\":\"string\"},\"subscription_url\":{\"type\":\"string\"},\"tags_url\":{\"type\":\"string\"},\"teams_url\":{\"type\":\"string\"},\"trees_url\":{\"type\":\"string\"},\"clone_url\":{\"type\":\"string\"},\"mirror_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"svn_url\":{\"type\":\"string\"},\"homepage\":{\"type\":\"string\"},\"language\":{\"nullable\":true,\"type\":\"string\"},\"forks_count\":{\"type\":\"number\"},\"stargazers_count\":{\"type\":\"number\"},\"watchers_count\":{\"type\":\"number\"},\"size\":{\"type\":\"number\"},\"default_branch\":{\"type\":\"string\"},\"open_issues_count\":{\"type\":\"number\"},\"is_template\":{\"type\":\"boolean\"},\"topics\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}},\"has_issues\":{\"type\":\"boolean\"},\"has_projects\":{\"type\":\"boolean\"},\"has_wiki\":{\"type\":\"boolean\"},\"has_pages\":{\"type\":\"boolean\"},\"has_downloads\":{\"type\":\"boolean\"},\"archived\":{\"type\":\"boolean\"},\"disabled\":{\"type\":\"boolean\"},\"visibility\":{\"type\":\"string\"},\"pushed_at\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"permissions\":{\"type\":\"object\",\"properties\":{\"admin\":{\"type\":\"boolean\"},\"push\":{\"type\":\"boolean\"},\"pull\":{\"type\":\"boolean\"}}},\"template_repository\":{\"nullable\":true},\"temp_clone_token\":{\"type\":\"string\"},\"delete_branch_on_merge\":{\"type\":\"boolean\"},\"subscribers_count\":{\"type\":\"number\"},\"network_count\":{\"type\":\"number\"},\"license\":{\"type\":\"object\",\"properties\":{\"key\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"spdx_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "Remove team member (Legacy)", - "scope": "teams", - "id": "removeMemberLegacy", "method": "DELETE", "url": "/teams/{team_id}/members/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#remove-team-member-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#remove-team-member-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove team membership for a user", - "scope": "teams", - "id": "removeMembershipForUserInOrg", "method": "DELETE", "url": "/orgs/{org}/teams/{team_slug}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove team membership for a user (Legacy)", - "scope": "teams", - "id": "removeMembershipForUserLegacy", "method": "DELETE", "url": "/teams/{team_id}/memberships/{username}", - "documentationUrl": "https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user-legacy", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } - ], - "previews": [], - "headers": [], - "responses": [], - "renamed": null - }, - { - "name": "Remove a project from a team", - "scope": "teams", - "id": "removeProjectInOrg", - "method": "DELETE", - "url": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#remove-a-project-from-a-team", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - } + "documentationUrl": "https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } + ], + "previews": [], + "renamed": null + }, + { + "method": "DELETE", + "url": "/orgs/{org}/teams/{team_slug}/projects/{project_id}", + "documentationUrl": "https://docs.github.com/v3/teams/#remove-a-project-from-a-team", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove a project from a team (Legacy)", - "scope": "teams", - "id": "removeProjectLegacy", "method": "DELETE", "url": "/teams/{team_id}/projects/{project_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#remove-a-project-from-a-team-legacy", + "documentationUrl": "https://docs.github.com/v3/teams/#remove-a-project-from-a-team-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "project_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "project_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove a repository from a team", - "scope": "teams", - "id": "removeRepoInOrg", "method": "DELETE", "url": "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/teams/#remove-a-repository-from-a-team", + "documentationUrl": "https://docs.github.com/v3/teams/#remove-a-repository-from-a-team", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Remove a repository from a team (Legacy)", - "scope": "teams", - "id": "removeRepoLegacy", "method": "DELETE", "url": "/teams/{team_id}/repos/{owner}/{repo}", - "documentationUrl": "https://developer.github.com/v3/teams/#remove-a-repository-from-a-team-legacy", + "documentationUrl": "https://docs.github.com/v3/teams/#remove-a-repository-from-a-team-legacy", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "owner", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "repo", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "owner" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "repo" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Update a discussion comment", - "scope": "teams", - "id": "updateDiscussionCommentInOrg", "method": "PATCH", "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment", + "documentationUrl": "https://docs.github.com/rest/reference/teams#update-a-discussion-comment", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true + "name": "comment_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The discussion comment's body text.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Update a discussion comment (Legacy)", - "scope": "teams", - "id": "updateDiscussionCommentLegacy", "method": "PATCH", "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true + "name": "discussion_number" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true + "name": "comment_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "comment_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The discussion comment's body text.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"discussion_url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Update a discussion", - "scope": "teams", - "id": "updateDiscussionInOrg", "method": "PATCH", "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#update-a-discussion", + "documentationUrl": "https://docs.github.com/rest/reference/teams#update-a-discussion", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The discussion post's title.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false + "name": "discussion_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The discussion post's body text.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Update a discussion (Legacy)", - "scope": "teams", - "id": "updateDiscussionLegacy", "method": "PATCH", "url": "/teams/{team_id}/discussions/{discussion_number}", - "documentationUrl": "https://developer.github.com/v3/teams/discussions/#update-a-discussion-legacy", + "documentationUrl": "https://docs.github.com/rest/reference/teams#update-a-discussion-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "", - "enum": null, "in": "PATH", - "name": "discussion_number", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The discussion post's title.", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false + "name": "discussion_number" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The discussion post's body text.", - "enum": null, - "in": "BODY", - "name": "body", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "body" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"author\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}},\"body\":{\"type\":\"string\"},\"body_html\":{\"type\":\"string\"},\"body_version\":{\"type\":\"string\"},\"comments_count\":{\"type\":\"number\"},\"comments_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"last_edited_at\":{\"nullable\":true,\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"node_id\":{\"type\":\"string\"},\"number\":{\"type\":\"number\"},\"pinned\":{\"type\":\"boolean\"},\"private\":{\"type\":\"boolean\"},\"team_url\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"reactions\":{\"type\":\"object\",\"properties\":{\"url\":{\"type\":\"string\"},\"total_count\":{\"type\":\"number\"},\"+1\":{\"type\":\"number\"},\"-1\":{\"type\":\"number\"},\"laugh\":{\"type\":\"number\"},\"confused\":{\"type\":\"number\"},\"heart\":{\"type\":\"number\"},\"hooray\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Update a team", - "scope": "teams", - "id": "updateInOrg", "method": "PATCH", "url": "/orgs/{org}/teams/{team_slug}", - "documentationUrl": "https://developer.github.com/v3/teams/#update-a-team", + "documentationUrl": "https://docs.github.com/v3/teams/#update-a-team", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "org" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_slug" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "org", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_slug", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the team.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the team.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: \n**For a non-nested team:** \n\\* `secret` - only visible to organization owners and members of this team. \n\\* `closed` - visible to all members of this organization. \n**For a parent or child team:** \n\\* `closed` - visible to all members of this organization.", - "enum": ["secret", "closed"], - "in": "BODY", - "name": "privacy", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer newly-added repositories. \n\\* `push` - team members can pull and push, but not administer newly-added repositories. \n\\* `admin` - team members can pull, push and administer newly-added repositories.", - "enum": ["pull", "push", "admin"], "in": "BODY", - "name": "permission", - "type": "string", - "required": false + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "privacy" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The ID of a team to set as the parent team.", - "enum": null, "in": "BODY", - "name": "parent_team_id", - "type": "integer", - "required": false + "name": "parent_team_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true},\"members_count\":{\"type\":\"number\"},\"repos_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Update a team (Legacy)", - "scope": "teams", - "id": "updateLegacy", "method": "PATCH", "url": "/teams/{team_id}", - "documentationUrl": "https://developer.github.com/v3/teams/#update-a-team-legacy", + "documentationUrl": "https://docs.github.com/v3/teams/#update-a-team-legacy", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "team_id" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "team_id", - "type": "integer", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The name of the team.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The description of the team.", - "enum": null, - "in": "BODY", - "name": "description", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: \n**For a non-nested team:** \n\\* `secret` - only visible to organization owners and members of this team. \n\\* `closed` - visible to all members of this organization. \n**For a parent or child team:** \n\\* `closed` - visible to all members of this organization.", - "enum": ["secret", "closed"], - "in": "BODY", - "name": "privacy", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "**Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: \n\\* `pull` - team members can pull, but not push to or administer newly-added repositories. \n\\* `push` - team members can pull and push, but not administer newly-added repositories. \n\\* `admin` - team members can pull, push and administer newly-added repositories.", - "enum": ["pull", "push", "admin"], "in": "BODY", - "name": "permission", - "type": "string", - "required": false + "name": "description" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "privacy" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "permission" }, { "alias": null, - "allowNull": false, "deprecated": null, - "description": "The ID of a team to set as the parent team.", - "enum": null, "in": "BODY", - "name": "parent_team_id", - "type": "integer", - "required": false + "name": "parent_team_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"slug\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"privacy\":{\"type\":\"string\"},\"permission\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"repositories_url\":{\"type\":\"string\"},\"parent\":{\"nullable\":true},\"members_count\":{\"type\":\"number\"},\"repos_count\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"organization\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"hooks_url\":{\"type\":\"string\"},\"issues_url\":{\"type\":\"string\"},\"members_url\":{\"type\":\"string\"},\"public_members_url\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"is_verified\":{\"type\":\"boolean\"},\"has_organization_projects\":{\"type\":\"boolean\"},\"has_repository_projects\":{\"type\":\"boolean\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"html_url\":{\"type\":\"string\"},\"created_at\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"}}}}}" - } - ], "renamed": null }, { - "name": "Add an email address for the authenticated user", - "scope": "users", - "id": "addEmailForAuthenticated", "method": "POST", "url": "/user/emails", - "documentationUrl": "https://developer.github.com/v3/users/emails/#add-an-email-address-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.", - "enum": null, - "in": "BODY", - "name": "emails", - "type": "string[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "emails" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"},\"verified\":{\"type\":\"boolean\"},\"visibility\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "Block a user", - "scope": "users", - "id": "block", "method": "PUT", "url": "/user/blocks/{username}", - "documentationUrl": "https://developer.github.com/v3/users/blocking/#block-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#block-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Check if a user is blocked by the authenticated user", - "scope": "users", - "id": "checkBlocked", "method": "GET", "url": "/user/blocks/{username}", - "documentationUrl": "https://developer.github.com/v3/users/blocking/#check-if-a-user-is-blocked-by-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Check if a user follows another user", - "scope": "users", - "id": "checkFollowingForUser", "method": "GET", "url": "/users/{username}/following/{target_user}", - "documentationUrl": "https://developer.github.com/v3/users/followers/#check-if-a-user-follows-another-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "target_user", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "PATH", "name": "target_user" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Check if a person is followed by the authenticated user", - "scope": "users", - "id": "checkPersonIsFollowedByAuthenticated", "method": "GET", "url": "/user/following/{username}", - "documentationUrl": "https://developer.github.com/v3/users/followers/#check-if-a-person-is-followed-by-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Create a GPG key for the authenticated user", - "scope": "users", - "id": "createGpgKeyForAuthenticated", "method": "POST", "url": "/user/gpg_keys", - "documentationUrl": "https://developer.github.com/v3/users/gpg_keys/#create-a-gpg-key-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user", "parameters": [ { "alias": null, - "allowNull": false, "deprecated": null, - "description": "Your GPG key, generated in ASCII-armored format. See \"[Generating a new GPG key](https://docs.github.com/articles/generating-a-new-gpg-key/)\" for help creating a GPG key.", - "enum": null, "in": "BODY", - "name": "armored_public_key", - "type": "string", - "required": false + "name": "armored_public_key" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"string\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"}}}},\"subkeys\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"number\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{}},\"subkeys\":{\"type\":\"array\",\"items\":{}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Create a public SSH key for the authenticated user", - "scope": "users", - "id": "createPublicSshKeyForAuthenticated", "method": "POST", "url": "/user/keys", - "documentationUrl": "https://developer.github.com/v3/users/keys/#create-a-public-ssh-key-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "A descriptive name for the new key. Use a name that will help you recognize this key in your GitHub account. For example, if you're using a personal Mac, you might call this key \"Personal MacBook Air\".", - "enum": null, - "in": "BODY", - "name": "title", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The public SSH key to add to your GitHub account. See \"[Generating a new SSH key](https://docs.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)\" for guidance on how to create a public SSH key.", - "enum": null, - "in": "BODY", - "name": "key", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "title" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "key" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 201, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key_id\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Delete an email address for the authenticated user", - "scope": "users", - "id": "deleteEmailForAuthenticated", "method": "DELETE", "url": "/user/emails", - "documentationUrl": "https://developer.github.com/v3/users/emails/#delete-an-email-address-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key.", - "enum": null, - "in": "BODY", - "name": "emails", - "type": "string[]", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "emails" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a GPG key for the authenticated user", - "scope": "users", - "id": "deleteGpgKeyForAuthenticated", "method": "DELETE", "url": "/user/gpg_keys/{gpg_key_id}", - "documentationUrl": "https://developer.github.com/v3/users/gpg_keys/#delete-a-gpg-key-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "gpg_key_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gpg_key_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Delete a public SSH key for the authenticated user", - "scope": "users", - "id": "deletePublicSshKeyForAuthenticated", "method": "DELETE", "url": "/user/keys/{key_id}", - "documentationUrl": "https://developer.github.com/v3/users/keys/#delete-a-public-ssh-key-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "key_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Follow a user", - "scope": "users", - "id": "follow", "method": "PUT", "url": "/user/following/{username}", - "documentationUrl": "https://developer.github.com/v3/users/followers/#follow-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#follow-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Get the authenticated user", - "scope": "users", - "id": "getAuthenticated", "method": "GET", "url": "/user", - "documentationUrl": "https://developer.github.com/v3/users/#get-the-authenticated-user", + "documentationUrl": "https://docs.github.com/v3/users/#get-the-authenticated-user", "parameters": [], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"hireable\":{\"type\":\"boolean\"},\"bio\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"private_gists\":{\"type\":\"number\"},\"total_private_repos\":{\"type\":\"number\"},\"owned_private_repos\":{\"type\":\"number\"},\"disk_usage\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"},\"two_factor_authentication\":{\"type\":\"boolean\"},\"plan\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"space\":{\"type\":\"number\"},\"private_repos\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Get a user", - "scope": "users", - "id": "getByUsername", "method": "GET", - "url": "/users/{username}", - "documentationUrl": "https://developer.github.com/v3/users/#get-a-user", - "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + "url": "/users/{username}", + "documentationUrl": "https://docs.github.com/v3/users/#get-a-user", + "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"hireable\":{\"type\":\"boolean\"},\"bio\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"plan\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"space\":{\"type\":\"number\"},\"private_repos\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null }, { - "name": "Get contextual information for a user", - "scope": "users", - "id": "getContextForUser", "method": "GET", "url": "/users/{username}/hovercard", - "documentationUrl": "https://developer.github.com/v3/users/#get-contextual-information-for-a-user", + "documentationUrl": "https://docs.github.com/v3/users/#get-contextual-information-for-a-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`.", - "enum": ["organization", "repository", "issue", "pull_request"], "in": "QUERY", - "name": "subject_type", - "type": "string", - "required": false + "name": "subject_type" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`.", - "enum": null, - "in": "QUERY", - "name": "subject_id", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "subject_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"contexts\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"message\":{\"type\":\"string\"},\"octicon\":{\"type\":\"string\"}}}}}}" - } - ], "renamed": null }, { - "name": "Get a GPG key for the authenticated user", - "scope": "users", - "id": "getGpgKeyForAuthenticated", "method": "GET", "url": "/user/gpg_keys/{gpg_key_id}", - "documentationUrl": "https://developer.github.com/v3/users/gpg_keys/#get-a-gpg-key-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "gpg_key_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "gpg_key_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"string\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"}}}},\"subkeys\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"number\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{}},\"subkeys\":{\"type\":\"array\",\"items\":{}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "Get a public SSH key for the authenticated user", - "scope": "users", - "id": "getPublicSshKeyForAuthenticated", "method": "GET", "url": "/user/keys/{key_id}", - "documentationUrl": "https://developer.github.com/v3/users/keys/#get-a-public-ssh-key-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "key_id", - "type": "integer", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "key_id" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"key_id\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"}}}" - } - ], "renamed": null }, { - "name": "List users", - "scope": "users", - "id": "list", "method": "GET", "url": "/users", - "documentationUrl": "https://developer.github.com/v3/users/#list-users", + "documentationUrl": "https://docs.github.com/v3/users/#list-users", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The integer ID of the last User that you've seen.", - "enum": null, - "in": "QUERY", - "name": "since", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "since" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List users blocked by the authenticated user", - "scope": "users", - "id": "listBlockedByAuthenticated", "method": "GET", "url": "/user/blocks", - "documentationUrl": "https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user", "parameters": [], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List email addresses for the authenticated user", - "scope": "users", - "id": "listEmailsForAuthenticated", "method": "GET", "url": "/user/emails", - "documentationUrl": "https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"},\"verified\":{\"type\":\"boolean\"},\"visibility\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List the people the authenticated user follows", - "scope": "users", - "id": "listFollowedByAuthenticated", "method": "GET", "url": "/user/following", - "documentationUrl": "https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List followers of the authenticated user", - "scope": "users", - "id": "listFollowersForAuthenticatedUser", "method": "GET", "url": "/user/followers", - "documentationUrl": "https://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List followers of a user", - "scope": "users", - "id": "listFollowersForUser", "method": "GET", "url": "/users/{username}/followers", - "documentationUrl": "https://developer.github.com/v3/users/followers/#list-followers-of-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-followers-of-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List the people a user follows", - "scope": "users", - "id": "listFollowingForUser", "method": "GET", "url": "/users/{username}/following", - "documentationUrl": "https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-the-people-a-user-follows", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"}}}}" - } - ], "renamed": null }, { - "name": "List GPG keys for the authenticated user", - "scope": "users", - "id": "listGpgKeysForAuthenticated", "method": "GET", "url": "/user/gpg_keys", - "documentationUrl": "https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"string\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"}}}},\"subkeys\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"number\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{}},\"subkeys\":{\"type\":\"array\",\"items\":{}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List GPG keys for a user", - "scope": "users", - "id": "listGpgKeysForUser", "method": "GET", "url": "/users/{username}/gpg_keys", - "documentationUrl": "https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"string\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"verified\":{\"type\":\"boolean\"}}}},\"subkeys\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"primary_key_id\":{\"nullable\":true,\"type\":\"number\"},\"key_id\":{\"type\":\"string\"},\"public_key\":{\"type\":\"string\"},\"emails\":{\"type\":\"array\",\"items\":{}},\"subkeys\":{\"type\":\"array\",\"items\":{}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}},\"can_sign\":{\"type\":\"boolean\"},\"can_encrypt_comms\":{\"type\":\"boolean\"},\"can_encrypt_storage\":{\"type\":\"boolean\"},\"can_certify\":{\"type\":\"boolean\"},\"created_at\":{\"type\":\"string\"},\"expires_at\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List public email addresses for the authenticated user", - "scope": "users", - "id": "listPublicEmailsForAuthenticated", "method": "GET", "url": "/user/public_emails", - "documentationUrl": "https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"},\"verified\":{\"type\":\"boolean\"},\"visibility\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List public keys for a user", - "scope": "users", - "id": "listPublicKeysForUser", "method": "GET", "url": "/users/{username}/keys", - "documentationUrl": "https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-public-keys-for-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"number\"},\"key\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "List public SSH keys for the authenticated user", - "scope": "users", - "id": "listPublicSshKeysForAuthenticated", "method": "GET", "url": "/user/keys", - "documentationUrl": "https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Results per page (max 100)", - "enum": null, - "in": "QUERY", - "name": "per_page", - "type": "integer", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Page number of the results to fetch.", - "enum": null, - "in": "QUERY", - "name": "page", - "type": "integer", - "required": false - } + { "alias": null, "deprecated": null, "in": "QUERY", "name": "per_page" }, + { "alias": null, "deprecated": null, "in": "QUERY", "name": "page" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"key_id\":{\"type\":\"string\"},\"key\":{\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "Set primary email visibility for the authenticated user", - "scope": "users", - "id": "setPrimaryEmailVisibilityForAuthenticated", "method": "PATCH", "url": "/user/email/visibility", - "documentationUrl": "https://developer.github.com/v3/users/emails/#set-primary-email-visibility-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Specify the _primary_ email address that needs a visibility change.", - "enum": null, - "in": "BODY", - "name": "email", - "type": "string", - "required": true - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "Use `public` to enable an authenticated user to view the specified email address, or use `private` so this primary email address cannot be seen publicly.", - "enum": null, - "in": "BODY", - "name": "visibility", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "visibility" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"email\":{\"type\":\"string\"},\"primary\":{\"type\":\"boolean\"},\"verified\":{\"type\":\"boolean\"},\"visibility\":{\"nullable\":true,\"type\":\"string\"}}}}" - } - ], "renamed": null }, { - "name": "Unblock a user", - "scope": "users", - "id": "unblock", "method": "DELETE", "url": "/user/blocks/{username}", - "documentationUrl": "https://developer.github.com/v3/users/blocking/#unblock-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#unblock-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Unfollow a user", - "scope": "users", - "id": "unfollow", "method": "DELETE", "url": "/user/following/{username}", - "documentationUrl": "https://developer.github.com/v3/users/followers/#unfollow-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#unfollow-a-user", "parameters": [ - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "", - "enum": null, - "in": "PATH", - "name": "username", - "type": "string", - "required": true - } + { "alias": null, "deprecated": null, "in": "PATH", "name": "username" } ], "previews": [], - "headers": [], - "responses": [], "renamed": null }, { - "name": "Update the authenticated user", - "scope": "users", - "id": "updateAuthenticated", "method": "PATCH", "url": "/user", - "documentationUrl": "https://developer.github.com/v3/users/#update-the-authenticated-user", + "documentationUrl": "https://docs.github.com/v3/users/#update-the-authenticated-user", "parameters": [ + { "alias": null, "deprecated": null, "in": "BODY", "name": "name" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "email" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "blog" }, { "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new name of the user.", - "enum": null, - "in": "BODY", - "name": "name", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The publicly visible email address of the user.", - "enum": null, - "in": "BODY", - "name": "email", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new blog URL of the user.", - "enum": null, - "in": "BODY", - "name": "blog", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new company of the user.", - "enum": null, - "in": "BODY", - "name": "company", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new location of the user.", - "enum": null, - "in": "BODY", - "name": "location", - "type": "string", - "required": false - }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new hiring availability of the user.", - "enum": null, - "in": "BODY", - "name": "hireable", - "type": "boolean", - "required": false - }, - { - "alias": null, - "allowNull": false, "deprecated": null, - "description": "The new short biography of the user.", - "enum": null, "in": "BODY", - "name": "bio", - "type": "string", - "required": false + "name": "twitter_username" }, - { - "alias": null, - "allowNull": false, - "deprecated": null, - "description": "The new Twitter username of the user.", - "enum": null, - "in": "BODY", - "name": "twitter_username", - "type": "string", - "required": false - } + { "alias": null, "deprecated": null, "in": "BODY", "name": "company" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "location" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "hireable" }, + { "alias": null, "deprecated": null, "in": "BODY", "name": "bio" } ], "previews": [], - "headers": [], - "responses": [ - { - "code": 200, - "description": "response", - "schema": "{\"type\":\"object\",\"properties\":{\"login\":{\"type\":\"string\"},\"id\":{\"type\":\"number\"},\"node_id\":{\"type\":\"string\"},\"avatar_url\":{\"type\":\"string\"},\"gravatar_id\":{\"type\":\"string\"},\"url\":{\"type\":\"string\"},\"html_url\":{\"type\":\"string\"},\"followers_url\":{\"type\":\"string\"},\"following_url\":{\"type\":\"string\"},\"gists_url\":{\"type\":\"string\"},\"starred_url\":{\"type\":\"string\"},\"subscriptions_url\":{\"type\":\"string\"},\"organizations_url\":{\"type\":\"string\"},\"repos_url\":{\"type\":\"string\"},\"events_url\":{\"type\":\"string\"},\"received_events_url\":{\"type\":\"string\"},\"type\":{\"type\":\"string\"},\"site_admin\":{\"type\":\"boolean\"},\"name\":{\"type\":\"string\"},\"company\":{\"type\":\"string\"},\"blog\":{\"type\":\"string\"},\"location\":{\"type\":\"string\"},\"email\":{\"type\":\"string\"},\"hireable\":{\"type\":\"boolean\"},\"bio\":{\"type\":\"string\"},\"twitter_username\":{\"type\":\"string\"},\"public_repos\":{\"type\":\"number\"},\"public_gists\":{\"type\":\"number\"},\"followers\":{\"type\":\"number\"},\"following\":{\"type\":\"number\"},\"created_at\":{\"type\":\"string\"},\"updated_at\":{\"type\":\"string\"},\"private_gists\":{\"type\":\"number\"},\"total_private_repos\":{\"type\":\"number\"},\"owned_private_repos\":{\"type\":\"number\"},\"disk_usage\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"},\"two_factor_authentication\":{\"type\":\"boolean\"},\"plan\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"space\":{\"type\":\"number\"},\"private_repos\":{\"type\":\"number\"},\"collaborators\":{\"type\":\"number\"}}}}}" - } - ], "renamed": null } ] diff --git a/scripts/update-endpoints/package.js b/scripts/update-endpoints/package.js new file mode 100644 index 000000000..bcc8e20fe --- /dev/null +++ b/scripts/update-endpoints/package.js @@ -0,0 +1,15 @@ +const { writeFileSync } = require("fs"); + +if (!process.env.VERSION) { + throw new Error(`VERSION environment variable must be set`); +} + +const pkg = require("../../package.json"); + +if (!pkg.octokit) { + pkg.octokit = {}; +} + +pkg.octokit["openapi-version"] = process.env.VERSION; + +writeFileSync("package.json", JSON.stringify(pkg, null, 2) + "\n"); diff --git a/scripts/update-endpoints/templates/endpoints.ts.template b/scripts/update-endpoints/templates/endpoints.ts.template index c3e2f8531..3ed10526e 100644 --- a/scripts/update-endpoints/templates/endpoints.ts.template +++ b/scripts/update-endpoints/templates/endpoints.ts.template @@ -1,42 +1,98 @@ // DO NOT EDIT THIS FILE +import { paths } from "@octokit/openapi-types"; import { OctokitResponse } from "../OctokitResponse"; import { RequestHeaders } from "../RequestHeaders"; import { RequestRequestOptions } from "../RequestRequestOptions"; -type RequiredPreview = { - mediaType: { - previews: [T, ...string[]]; +// https://stackoverflow.com/a/50375286/206879 +type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ( + k: infer I +) => void + ? I + : never; + +type ExtractParameters = "parameters" extends keyof T + ? UnionToIntersection< + { + [K in keyof T["parameters"]]: T["parameters"][K]; + }[keyof T["parameters"]] + > + : {}; +type ExtractRequestBody = "requestBody" extends keyof T + ? "application/json" extends keyof T["requestBody"] + ? T["requestBody"]["application/json"] + : { + data: { + [K in keyof T["requestBody"]]: T["requestBody"][K]; + }[keyof T["requestBody"]]; + } + : {}; +type ToOctokitParameters = ExtractParameters & ExtractRequestBody; + +type RequiredPreview = T extends string + ? { + mediaType: { + previews: [T, ...string[]]; + }; + } + : {}; + +type Operation< + Url extends keyof paths, + Method extends keyof paths[Url], + preview = unknown +> = { + parameters: ToOctokitParameters & + RequiredPreview; + request: { + method: Method extends keyof MethodsMap ? MethodsMap[Method] : never; + url: Url; + headers: RequestHeaders; + request: RequestRequestOptions; }; + response: ExtractFirstSuccessResponse; +}; + +type MethodsMap = { + delete: "DELETE"; + get: "GET"; + patch: "PATCH"; + post: "POST"; + put: "PUT"; }; +type SuccessStatusesMap = { + "200": 200; + "201": 201; + "204": 204; +}; + +type DataType = "application/json" extends keyof T + ? T["application/json"] + : unknown; +type ExtractFirstSuccessResponse = "responses" extends keyof R + ? FirstSuccessResponse + : unknown; +type FirstSuccessResponse< + R, + S extends keyof R = keyof R +> = S extends keyof SuccessStatusesMap + ? R[S] extends never + ? Omit, "data"> + : OctokitResponse, SuccessStatusesMap[S]> + : never; export interface Endpoints { {{#each endpointsByRoute}} - {{&jsdoc}} - "{{@key}}": { - parameters: {{optionsTypeName}}, - request: {{requestOptionsTypeName}}, - response: OctokitResponse<{{responseTypeName}}>, - }, + /** + * @see {{documentationUrl}} + {{#deprecated}} + * @deprecated {{{.}}} + {{/deprecated}} + */ + "{{@key}}": Operation< + "{{url}}", + "{{method}}" + {{#requiredPreview}}, "{{.}}"{{/requiredPreview}} + >, {{/each}} -} - -{{#each options}} -type {{parameters.name}} = { -{{#each parameters.parameters}} - {{&jsdoc}} - {{{name this}}}: {{{type this}}} -{{/each}} -} -{{#requiredPreview}} & RequiredPreview<"{{this}}"> {{/requiredPreview}} -{{#headers}} & {{{headersType this}}} {{/headers}} -{{&request}} -{{&response}} -{{/each}} - -{{#childParams}} -type {{paramTypeName}} = { -{{#params}} - {{{name this}}}: {{{type this}}} -{{/params}} -}; -{{/childParams}} +} \ No newline at end of file diff --git a/scripts/update-endpoints/typescript.js b/scripts/update-endpoints/typescript.js index a3a4d734c..f8cf50821 100644 --- a/scripts/update-endpoints/typescript.js +++ b/scripts/update-endpoints/typescript.js @@ -2,12 +2,8 @@ const { readFileSync, writeFileSync } = require("fs"); const { resolve } = require("path"); const Handlebars = require("handlebars"); -const set = require("lodash.set"); -const { pascalCase } = require("pascal-case"); const prettier = require("prettier"); -const { stringToJsdocComment } = require("string-to-jsdoc-comment"); const sortKeys = require("sort-keys"); -const { compile } = require("json-schema-to-typescript"); const ENDPOINTS = require("./generated/endpoints.json"); const ENDPOINTS_PATH = resolve( @@ -24,249 +20,48 @@ const ENDPOINTS_TEMPLATE_PATH = resolve( "endpoints.ts.template" ); -Handlebars.registerHelper("name", function (parameter) { - let name = parameter.key; - - if (/[.\[]/.test(name) && name !== "[key: string]") { - name = `"${name}"`; - } - - if (parameter.required) { - return name; - } - - return `${name}?`; -}); - -Handlebars.registerHelper("type", function (parameter) { - const type = typeMap[parameter.type] || parameter.type; - - if (parameter.allowNull) { - return `${type} | null`; - } - - return type; -}); - -Handlebars.registerHelper("headersType", function (headers) { - const result = JSON.stringify(headers); - - return `{ headers: ${result.replace(/\bnull\b/g, "string")}}`; -}); - const template = Handlebars.compile( readFileSync(ENDPOINTS_TEMPLATE_PATH, "utf8") ); const endpointsByRoute = {}; -const typeMap = { - integer: "number", - "integer[]": "number[]", -}; - run(); async function run() { for (const endpoint of ENDPOINTS) { if (endpoint.renamed) continue; - const url = endpointToNormalizedUrl(endpoint); - const route = `${endpoint.method} ${url}`; + const route = `${endpoint.method} ${endpoint.url}`; endpointsByRoute[route] = { + method: endpoint.method.toLowerCase(), + url: toOpenApiUrl(endpoint), + requiredPreview: (endpoint.previews[0] || {}).name, documentationUrl: endpoint.documentationUrl, - optionsTypeName: pascalCase(`${endpoint.scope} ${endpoint.id} Endpoint`), - requestOptionsTypeName: pascalCase( - `${endpoint.scope} ${endpoint.id} RequestOptions` - ), - responseTypeName: endpointToResponseTypeName(endpoint), - jsdoc: stringToJsdocComment(`@see ${endpoint.documentationUrl}`), - scope: endpoint.scope, - id: endpoint.id, - method: endpoint.method, - url, - previews: endpoint.previews, - headers: endpoint.headers, - responses: endpoint.responses, - parameters: endpoint.parameters.filter(isntDeprecatedPathParameter), }; - for (const deprecatedPathparameter of endpoint.parameters) { - if (!deprecatedPathparameter.alias) continue; - if (deprecatedPathparameter.in !== "PATH") continue; - + // handle deprecated URL parameters + for (const parameter of endpoint.parameters) { + if (!parameter.deprecated || parameter.in !== "PATH") continue; + const { alias, name } = parameter; const deprecatedRoute = route.replace( - new RegExp(`:${deprecatedPathparameter.alias}\\b`), - `:${deprecatedPathparameter.name}` + new RegExp(`\\{${alias}\\}`), + `{${name}}` ); endpointsByRoute[deprecatedRoute] = Object.assign( {}, endpointsByRoute[route], { - optionsTypeName: pascalCase( - `${endpoint.scope} ${endpoint.id} Deprecated ${deprecatedPathparameter.name} Endpoint` - ), - parameters: endpoint.parameters.filter((parameter) => { - return parameter.name !== deprecatedPathparameter.alias; - }), - jsdoc: stringToJsdocComment( - [ - `@see ${endpoint.documentationUrl}`, - `@deprecated "${deprecatedPathparameter.name}" is deprecated, use "${deprecatedPathparameter.alias}" instead`, - ].join("\n") - ), - hasDeprecatedPath: true, + deprecated: `"${name}" is now "${alias}"`, } ); } } - const options = []; - const childParams = {}; - - for (const endpoint of Object.values(endpointsByRoute)) { - const { - method, - parameters, - url, - optionsTypeName, - requestOptionsTypeName, - } = endpoint; - - const responsesSchemas = - endpoint.responses.length && - endpoint.responses.map((response, i) => { - // first response is default response, so we just want *ResponseData. For the other we want e.g. *Response400Data - const code = i === 0 ? "" : " " + response.code; - - return { - schema: JSON.parse(response.schema), - name: pascalCase( - `${endpoint.scope} ${endpoint.id} Response${code} Data` - ).replace(/_/, ""), - }; - }); - - const headers = endpoint.headers.reduce((result, header) => { - // accept header is set via mediatype - if (header.name === "accept") { - return result; - } - - // content-length is set by fetch - if (header.name === "content-length") { - return result; - } - - // // ignore headers with null values. THese can be required headers that must be set by the user, - // // such as `headers['content-type']` for `octokit.repos.uploadReleaseAsset()` - // if (header.value === null) { - // return result; - // } - - if (!result) { - result = {}; - } - - result[header.name] = header.value; - return result; - }, undefined); - - const extraParameters = []; - - // workarounds for "Upload a release asset" - if (optionsTypeName === "ReposUploadReleaseAssetEndpoint") { - // baseUrl must be set for "Upload a release asset" - extraParameters.push({ - name: "baseUrl", - type: "string", - description: - "For https://api.github.com, set `baseUrl` to `https://uploads.github.com`. For GitHub Enterprise Server, set it to `/api/uploads`", - required: true, - }); - - // data can be either a string or Buffer. Currently the OpenAPI types only specify a type of string. - const data = parameters.find((parameter) => parameter.name === "data"); - data.type = "string | Buffer"; - } - - const option = { - parameters: { - name: optionsTypeName, - parameters: parameters - .concat(extraParameters) - .map(parameterize) - // handle "object" & "object[]" types - .map((parameter) => { - const namespacedParamsName = pascalCase( - `${endpoint.scope}.${endpoint.id}.Params` - ); - - if (parameter.type === "object" || parameter.type === "object[]") { - const childParamsName = pascalCase( - `${namespacedParamsName}.${parameter.key}` - ); - - parameter.type = parameter.type.replace( - "object", - childParamsName - ); - - if (!childParams[childParamsName]) { - childParams[childParamsName] = {}; - } - } - - if (!/\./.test(parameter.key)) { - return parameter; - } - - const childKey = parameter.key.split(".").pop(); - const parentKey = parameter.key.replace(/\.[^.]+$/, ""); - - parameter.key = childKey; - - const childParamsName = pascalCase( - `${namespacedParamsName}.${parentKey}` - ); - set(childParams, `${childParamsName}.${childKey}`, parameter); - }) - .filter(Boolean), - }, - }; - if (!endpoint.hasDeprecatedPath) { - option.requiredPreview = endpoint.previews.length - ? endpoint.previews[0].name - : null; - option.headers = headers; - option.request = ` - type ${requestOptionsTypeName} = { - method: "${method}", - url: "${url}", - headers: RequestHeaders, - request: RequestRequestOptions - } - `; - option.response = await getResponseSchemasString(responsesSchemas); - } - options.push(option); - - process.stdout.write("."); - } - - console.log("\ndone."); - const result = template({ endpointsByRoute: sortKeys(endpointsByRoute, { deep: true }), - options, - childParams: Object.keys(childParams).map((key) => { - return { - paramTypeName: key, - params: Object.values(childParams[key]), - }; - }), }); writeFileSync( @@ -276,107 +71,12 @@ async function run() { console.log(`${ENDPOINTS_PATH} updated.`); } -async function getResponseSchemasString(responsesSchemas) { - if (!responsesSchemas) { - return ""; - } - - const strings = await Promise.all( - responsesSchemas.map(({ schema, name }) => { - patchSchema(schema); - return compile(schema, name, { bannerComment: false }); - }) - ); - - return strings.join("\n\n"); -} - -function patchSchema(schema) { - if (schema.items) { - patchSchema(schema.items); - } - - if (!schema.properties) return; - - // make all keys required, set additionalProperties to false - schema.required = Object.keys(schema.properties); - schema.additionalProperties = false; - - Object.values(schema.properties).forEach(patchSchema); -} - -function parameterize(parameter) { - let key = parameter.name; - const type = typeMap[parameter.type] || parameter.type || "any"; - const enums = parameter.enum - ? parameter.enum.map(JSON.stringify).join("|") - : null; - - let description = parameter.description ? parameter.description : ""; - - if (parameter.deprecated) { - description += `\n @deprecated "${key}" is deprecated.`; - if (parameter.alias) { - description += ` Use "${parameter.alias}" instead`; - } - } - - if (/\*/.test(key)) { - return { - name: pascalCase(key.replace(/\*/, "Object")), - key: key.replace(/\*/, "[key: string]"), - required: true, - type: enums || type, - alias: parameter.alias, - deprecated: parameter.deprecated, - allowNull: parameter.allowNull, - jsdoc: stringToJsdocComment(description), - }; - } - - return { - name: pascalCase(key), - key: key, - required: parameter.required, - type: enums || type, - alias: parameter.alias, - deprecated: parameter.deprecated, - allowNull: parameter.allowNull, - jsdoc: stringToJsdocComment(description), - }; -} - -function endpointToResponseTypeName(endpoint) { - const hasResponses = endpoint.responses.length; - - if (hasResponses) { - return endpoint.responses - .map((response, i) => { - // first response is default response, so we just want *ResponseData. For the other we want e.g. *Response400Data - const code = i === 0 ? "" : response.code + " "; - return pascalCase( - `${endpoint.scope} ${endpoint.id} Response ${code}Data` - ).replace(/_/, ""); - }) - .join(" | "); - } - - return "any"; -} - -function endpointToNormalizedUrl(endpoint) { +function toOpenApiUrl(endpoint) { return ( endpoint.url - // replace {param} with :param - .replace(/\{([^?][^}]+)}/g, ":$1") // stecial case for "Upload a release asset": remove ":origin" prefix - .replace(/^:origin/, "") + .replace(/^\{origin\}/, "") + // remove query parameters + .replace(/\{?\?.*$/, "") ); } - -function isntDeprecatedPathParameter(parameter) { - if (!parameter.alias) return true; - if (parameter.in !== "PATH") return true; - - return false; -} diff --git a/src/OctokitResponse.ts b/src/OctokitResponse.ts index 4cec20d9d..a87706ac6 100644 --- a/src/OctokitResponse.ts +++ b/src/OctokitResponse.ts @@ -1,12 +1,12 @@ import { ResponseHeaders } from "./ResponseHeaders"; import { Url } from "./Url"; -export type OctokitResponse = { +export type OctokitResponse = { headers: ResponseHeaders; /** * http response code */ - status: number; + status: S; /** * URL of response after all redirects */ diff --git a/src/generated/Endpoints.ts b/src/generated/Endpoints.ts index a1d789c27..3ca720949 100644 --- a/src/generated/Endpoints.ts +++ b/src/generated/Endpoints.ts @@ -1,42675 +1,4749 @@ // DO NOT EDIT THIS FILE +import { paths } from "@octokit/openapi-types"; import { OctokitResponse } from "../OctokitResponse"; import { RequestHeaders } from "../RequestHeaders"; import { RequestRequestOptions } from "../RequestRequestOptions"; -type RequiredPreview = { - mediaType: { - previews: [T, ...string[]]; - }; -}; +// https://stackoverflow.com/a/50375286/206879 +type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ( + k: infer I +) => void + ? I + : never; + +type ExtractParameters = "parameters" extends keyof T + ? UnionToIntersection< + { + [K in keyof T["parameters"]]: T["parameters"][K]; + }[keyof T["parameters"]] + > + : {}; +type ExtractRequestBody = "requestBody" extends keyof T + ? "application/json" extends keyof T["requestBody"] + ? T["requestBody"]["application/json"] + : { + data: { + [K in keyof T["requestBody"]]: T["requestBody"][K]; + }[keyof T["requestBody"]]; + } + : {}; +type ToOctokitParameters = ExtractParameters & ExtractRequestBody; + +type RequiredPreview = T extends string + ? { + mediaType: { + previews: [T, ...string[]]; + }; + } + : {}; + +type Operation< + Url extends keyof paths, + Method extends keyof paths[Url], + preview = unknown +> = { + parameters: ToOctokitParameters & + RequiredPreview; + request: { + method: Method extends keyof MethodsMap ? MethodsMap[Method] : never; + url: Url; + headers: RequestHeaders; + request: RequestRequestOptions; + }; + response: ExtractFirstSuccessResponse; +}; + +type MethodsMap = { + delete: "DELETE"; + get: "GET"; + patch: "PATCH"; + post: "POST"; + put: "PUT"; +}; +type SuccessStatusesMap = { + "200": 200; + "201": 201; + "204": 204; +}; + +type DataType = "application/json" extends keyof T + ? T["application/json"] + : unknown; +type ExtractFirstSuccessResponse = "responses" extends keyof R + ? FirstSuccessResponse + : unknown; +type FirstSuccessResponse< + R, + S extends keyof R = keyof R +> = S extends keyof SuccessStatusesMap + ? R[S] extends never + ? Omit, "data"> + : OctokitResponse, SuccessStatusesMap[S]> + : never; export interface Endpoints { /** - * @see https://developer.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app + * @see https://docs.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app */ - "DELETE /app/installations/:installation_id": { - parameters: AppsDeleteInstallationEndpoint; - request: AppsDeleteInstallationRequestOptions; - response: OctokitResponse; - }; + "DELETE /app/installations/{installation_id}": Operation< + "/app/installations/{installation_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/#unsuspend-an-app-installation + * @see https://docs.github.com/v3/apps/#unsuspend-an-app-installation */ - "DELETE /app/installations/:installation_id/suspended": { - parameters: AppsUnsuspendInstallationEndpoint; - request: AppsUnsuspendInstallationRequestOptions; - response: OctokitResponse; - }; + "DELETE /app/installations/{installation_id}/suspended": Operation< + "/app/installations/{installation_id}/suspended", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization + * @see https://docs.github.com/rest/reference/oauth-authorizations#delete-a-grant */ - "DELETE /applications/:client_id/grant": { - parameters: AppsDeleteAuthorizationEndpoint; - request: AppsDeleteAuthorizationRequestOptions; - response: OctokitResponse; - }; + "DELETE /applications/grants/{grant_id}": Operation< + "/applications/grants/{grant_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application + * @see https://docs.github.com/rest/reference/apps#delete-an-app-authorization */ - "DELETE /applications/:client_id/grants/:access_token": { - parameters: AppsRevokeGrantForApplicationEndpoint; - request: AppsRevokeGrantForApplicationRequestOptions; - response: OctokitResponse; - }; + "DELETE /applications/{client_id}/grant": Operation< + "/applications/{client_id}/grant", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token + * @see https://docs.github.com/rest/reference/apps#revoke-a-grant-for-an-application */ - "DELETE /applications/:client_id/token": { - parameters: AppsDeleteTokenEndpoint; - request: AppsDeleteTokenRequestOptions; - response: OctokitResponse; - }; + "DELETE /applications/{client_id}/grants/{access_token}": Operation< + "/applications/{client_id}/grants/{access_token}", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application + * @see https://docs.github.com/rest/reference/apps#delete-an-app-token */ - "DELETE /applications/:client_id/tokens/:access_token": { - parameters: AppsRevokeAuthorizationForApplicationEndpoint; - request: AppsRevokeAuthorizationForApplicationRequestOptions; - response: OctokitResponse; - }; + "DELETE /applications/{client_id}/token": Operation< + "/applications/{client_id}/token", + "delete" + >; /** - * @see https://developer.github.com/v3/oauth_authorizations/#delete-a-grant + * @see https://docs.github.com/rest/reference/apps#revoke-an-authorization-for-an-application */ - "DELETE /applications/grants/:grant_id": { - parameters: OauthAuthorizationsDeleteGrantEndpoint; - request: OauthAuthorizationsDeleteGrantRequestOptions; - response: OctokitResponse; - }; + "DELETE /applications/{client_id}/tokens/{access_token}": Operation< + "/applications/{client_id}/tokens/{access_token}", + "delete" + >; /** - * @see https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization + * @see https://docs.github.com/rest/reference/oauth-authorizations#delete-an-authorization */ - "DELETE /authorizations/:authorization_id": { - parameters: OauthAuthorizationsDeleteAuthorizationEndpoint; - request: OauthAuthorizationsDeleteAuthorizationRequestOptions; - response: OctokitResponse; - }; + "DELETE /authorizations/{authorization_id}": Operation< + "/authorizations/{authorization_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#delete-a-self-hosted-runner-group-from-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#disable-a-selected-organization-for-github-actions-in-an-enterprise */ - "DELETE /enterprises/:enterprise/actions/runner-groups/:runner_group_id": { - parameters: EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseEndpoint; - request: EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseRequestOptions; - response: OctokitResponse; - }; + "DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-self-hosted-runner-group-from-an-enterprise */ - "DELETE /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id": { - parameters: EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint; - request: EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions; - response: OctokitResponse; - }; + "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#remove-a-self-hosted-runner-from-a-group-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise */ - "DELETE /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id": { - parameters: EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseEndpoint; - request: EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseRequestOptions; - response: OctokitResponse; - }; + "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#delete-self-hosted-runner-from-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#remove-a-self-hosted-runner-from-a-group-for-an-enterprise */ - "DELETE /enterprises/:enterprise/actions/runners/:runner_id": { - parameters: EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseEndpoint; - request: EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseRequestOptions; - response: OctokitResponse; - }; + "DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/gists/#delete-a-gist + * @see https://docs.github.com/rest/reference/enterprise-admin#delete-self-hosted-runner-from-an-enterprise */ - "DELETE /gists/:gist_id": { - parameters: GistsDeleteEndpoint; - request: GistsDeleteRequestOptions; - response: OctokitResponse; - }; + "DELETE /enterprises/{enterprise}/actions/runners/{runner_id}": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/gists/comments/#delete-a-gist-comment + * @see https://docs.github.com/v3/gists/#delete-a-gist */ - "DELETE /gists/:gist_id/comments/:comment_id": { - parameters: GistsDeleteCommentEndpoint; - request: GistsDeleteCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /gists/{gist_id}": Operation<"/gists/{gist_id}", "delete">; /** - * @see https://developer.github.com/v3/gists/#unstar-a-gist + * @see https://docs.github.com/rest/reference/gists#delete-a-gist-comment */ - "DELETE /gists/:gist_id/star": { - parameters: GistsUnstarEndpoint; - request: GistsUnstarRequestOptions; - response: OctokitResponse; - }; + "DELETE /gists/{gist_id}/comments/{comment_id}": Operation< + "/gists/{gist_id}/comments/{comment_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/installations/#revoke-an-installation-access-token + * @see https://docs.github.com/v3/gists/#unstar-a-gist */ - "DELETE /installation/token": { - parameters: AppsRevokeInstallationAccessTokenEndpoint; - request: AppsRevokeInstallationAccessTokenRequestOptions; - response: OctokitResponse; - }; + "DELETE /gists/{gist_id}/star": Operation<"/gists/{gist_id}/star", "delete">; /** - * @see https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription + * @see https://docs.github.com/rest/reference/apps#revoke-an-installation-access-token */ - "DELETE /notifications/threads/:thread_id/subscription": { - parameters: ActivityDeleteThreadSubscriptionEndpoint; - request: ActivityDeleteThreadSubscriptionRequestOptions; - response: OctokitResponse; - }; + "DELETE /installation/token": Operation<"/installation/token", "delete">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#delete-a-self-hosted-runner-group-from-an-organization + * @see https://docs.github.com/rest/reference/activity#delete-a-thread-subscription */ - "DELETE /orgs/:org/actions/runner-groups/:runner_group_id": { - parameters: ActionsDeleteSelfHostedRunnerGroupFromOrgEndpoint; - request: ActionsDeleteSelfHostedRunnerGroupFromOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /notifications/threads/{thread_id}/subscription": Operation< + "/notifications/threads/{thread_id}/subscription", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization + * @see https://docs.github.com/rest/reference/actions#disable-a-selected-repository-for-github-actions-in-an-organization */ - "DELETE /orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id": { - parameters: ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgEndpoint; - request: ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#remove-a-self-hosted-runner-from-a-group-for-an-organization + * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-group-from-an-organization */ - "DELETE /orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id": { - parameters: ActionsRemoveSelfHostedRunnerFromGroupForOrgEndpoint; - request: ActionsRemoveSelfHostedRunnerFromGroupForOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-an-organization + * @see https://docs.github.com/rest/reference/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization */ - "DELETE /orgs/:org/actions/runners/:runner_id": { - parameters: ActionsDeleteSelfHostedRunnerFromOrgEndpoint; - request: ActionsDeleteSelfHostedRunnerFromOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#delete-an-organization-secret + * @see https://docs.github.com/rest/reference/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization */ - "DELETE /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsDeleteOrgSecretEndpoint; - request: ActionsDeleteOrgSecretRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret + * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization */ - "DELETE /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id": { - parameters: ActionsRemoveSelectedRepoFromOrgSecretEndpoint; - request: ActionsRemoveSelectedRepoFromOrgSecretRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/runners/{runner_id}": Operation< + "/orgs/{org}/actions/runners/{runner_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/orgs/blocking/#unblock-a-user-from-an-organization + * @see https://docs.github.com/rest/reference/actions#delete-an-organization-secret */ - "DELETE /orgs/:org/blocks/:username": { - parameters: OrgsUnblockUserEndpoint; - request: OrgsUnblockUserRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/secrets/{secret_name}": Operation< + "/orgs/{org}/actions/secrets/{secret_name}", + "delete" + >; /** - * @see https://developer.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization + * @see https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret */ - "DELETE /orgs/:org/credential-authorizations/:credential_id": { - parameters: OrgsRemoveSamlSsoAuthorizationEndpoint; - request: OrgsRemoveSamlSsoAuthorizationRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/orgs/hooks/#delete-an-organization-webhook + * @see https://docs.github.com/rest/reference/orgs#unblock-a-user-from-an-organization */ - "DELETE /orgs/:org/hooks/:hook_id": { - parameters: OrgsDeleteWebhookEndpoint; - request: OrgsDeleteWebhookRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/blocks/{username}": Operation< + "/orgs/{org}/blocks/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/interactions/orgs/#remove-interaction-restrictions-for-an-organization + * @see https://docs.github.com/v3/orgs/#remove-a-saml-sso-authorization-for-an-organization */ - "DELETE /orgs/:org/interaction-limits": { - parameters: InteractionsRemoveRestrictionsForOrgEndpoint; - request: InteractionsRemoveRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/credential-authorizations/{credential_id}": Operation< + "/orgs/{org}/credential-authorizations/{credential_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/orgs/members/#remove-an-organization-member + * @see https://docs.github.com/rest/reference/orgs#delete-an-organization-webhook */ - "DELETE /orgs/:org/members/:username": { - parameters: OrgsRemoveMemberEndpoint; - request: OrgsRemoveMemberRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/hooks/{hook_id}": Operation< + "/orgs/{org}/hooks/{hook_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/orgs/members/#remove-organization-membership-for-a-user + * @see https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-an-organization */ - "DELETE /orgs/:org/memberships/:username": { - parameters: OrgsRemoveMembershipForUserEndpoint; - request: OrgsRemoveMembershipForUserRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/interaction-limits": Operation< + "/orgs/{org}/interaction-limits", + "delete" + >; /** - * @see https://developer.github.com/v3/migrations/orgs/#delete-an-organization-migration-archive + * @see https://docs.github.com/rest/reference/orgs#remove-an-organization-member */ - "DELETE /orgs/:org/migrations/:migration_id/archive": { - parameters: MigrationsDeleteArchiveForOrgEndpoint; - request: MigrationsDeleteArchiveForOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/members/{username}": Operation< + "/orgs/{org}/members/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/migrations/orgs/#unlock-an-organization-repository + * @see https://docs.github.com/rest/reference/orgs#remove-organization-membership-for-a-user */ - "DELETE /orgs/:org/migrations/:migration_id/repos/:repo_name/lock": { - parameters: MigrationsUnlockRepoForOrgEndpoint; - request: MigrationsUnlockRepoForOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/memberships/{username}": Operation< + "/orgs/{org}/memberships/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#remove-outside-collaborator-from-an-organization + * @see https://docs.github.com/rest/reference/migrations#delete-an-organization-migration-archive */ - "DELETE /orgs/:org/outside_collaborators/:username": { - parameters: OrgsRemoveOutsideCollaboratorEndpoint; - request: OrgsRemoveOutsideCollaboratorRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/migrations/{migration_id}/archive": Operation< + "/orgs/{org}/migrations/{migration_id}/archive", + "delete", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/orgs/members/#remove-public-organization-membership-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/migrations#unlock-an-organization-repository */ - "DELETE /orgs/:org/public_members/:username": { - parameters: OrgsRemovePublicMembershipForAuthenticatedUserEndpoint; - request: OrgsRemovePublicMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock": Operation< + "/orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock", + "delete", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/teams/#delete-a-team + * @see https://docs.github.com/rest/reference/orgs#remove-outside-collaborator-from-an-organization */ - "DELETE /orgs/:org/teams/:team_slug": { - parameters: TeamsDeleteInOrgEndpoint; - request: TeamsDeleteInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/outside_collaborators/{username}": Operation< + "/orgs/{org}/outside_collaborators/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#delete-a-discussion + * @see https://docs.github.com/rest/reference/orgs#remove-public-organization-membership-for-the-authenticated-user */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsDeleteDiscussionInOrgEndpoint; - request: TeamsDeleteDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/public_members/{username}": Operation< + "/orgs/{org}/public_members/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment + * @see https://docs.github.com/v3/teams/#delete-a-team */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsDeleteDiscussionCommentInOrgEndpoint; - request: TeamsDeleteDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}": Operation< + "/orgs/{org}/teams/{team_slug}", + "delete" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-team-discussion-comment-reaction + * @see https://docs.github.com/rest/reference/teams#delete-a-discussion */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForTeamDiscussionCommentEndpoint; - request: ReactionsDeleteForTeamDiscussionCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", + "delete" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-team-discussion-reaction + * @see https://docs.github.com/rest/reference/teams#delete-a-discussion-comment */ - "DELETE /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForTeamDiscussionEndpoint; - request: ReactionsDeleteForTeamDiscussionRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user + * @see https://docs.github.com/v3/reactions/#delete-team-discussion-comment-reaction */ - "DELETE /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsRemoveMembershipForUserInOrgEndpoint; - request: TeamsRemoveMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team + * @see https://docs.github.com/v3/reactions/#delete-team-discussion-reaction */ - "DELETE /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsRemoveProjectInOrgEndpoint; - request: TeamsRemoveProjectInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team + * @see https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user */ - "DELETE /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsRemoveRepoInOrgEndpoint; - request: TeamsRemoveRepoInOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation< + "/orgs/{org}/teams/{team_slug}/memberships/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/projects/#delete-a-project + * @see https://docs.github.com/v3/teams/#remove-a-project-from-a-team */ - "DELETE /projects/:project_id": { - parameters: ProjectsDeleteEndpoint; - request: ProjectsDeleteRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation< + "/orgs/{org}/teams/{team_slug}/projects/{project_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/projects/collaborators/#remove-project-collaborator + * @see https://docs.github.com/v3/teams/#remove-a-repository-from-a-team */ - "DELETE /projects/:project_id/collaborators/:username": { - parameters: ProjectsRemoveCollaboratorEndpoint; - request: ProjectsRemoveCollaboratorRequestOptions; - response: OctokitResponse; - }; + "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation< + "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", + "delete" + >; /** - * @see https://developer.github.com/v3/projects/columns/#delete-a-project-column + * @see https://docs.github.com/rest/reference/projects#delete-a-project-card */ - "DELETE /projects/columns/:column_id": { - parameters: ProjectsDeleteColumnEndpoint; - request: ProjectsDeleteColumnRequestOptions; - response: OctokitResponse; - }; + "DELETE /projects/columns/cards/{card_id}": Operation< + "/projects/columns/cards/{card_id}", + "delete", + "inertia" + >; /** - * @see https://developer.github.com/v3/projects/cards/#delete-a-project-card + * @see https://docs.github.com/rest/reference/projects#delete-a-project-column */ - "DELETE /projects/columns/cards/:card_id": { - parameters: ProjectsDeleteCardEndpoint; - request: ProjectsDeleteCardRequestOptions; - response: OctokitResponse; - }; + "DELETE /projects/columns/{column_id}": Operation< + "/projects/columns/{column_id}", + "delete", + "inertia" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy + * @see https://docs.github.com/v3/projects/#delete-a-project */ - "DELETE /reactions/:reaction_id": { - parameters: ReactionsDeleteLegacyEndpoint; - request: ReactionsDeleteLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /projects/{project_id}": Operation< + "/projects/{project_id}", + "delete", + "inertia" + >; /** - * @see https://developer.github.com/v3/repos/#delete-a-repository + * @see https://docs.github.com/rest/reference/projects#remove-project-collaborator */ - "DELETE /repos/:owner/:repo": { - parameters: ReposDeleteEndpoint; - request: ReposDeleteRequestOptions; - response: OctokitResponse; - }; + "DELETE /projects/{project_id}/collaborators/{username}": Operation< + "/projects/{project_id}/collaborators/{username}", + "delete", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/artifacts/#delete-an-artifact + * @see https://docs.github.com/v3/reactions/#delete-a-reaction-legacy */ - "DELETE /repos/:owner/:repo/actions/artifacts/:artifact_id": { - parameters: ActionsDeleteArtifactEndpoint; - request: ActionsDeleteArtifactRequestOptions; - response: OctokitResponse; - }; + "DELETE /reactions/{reaction_id}": Operation< + "/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#delete-a-self-hosted-runner-from-a-repository + * @see https://docs.github.com/v3/repos/#delete-a-repository */ - "DELETE /repos/:owner/:repo/actions/runners/:runner_id": { - parameters: ActionsDeleteSelfHostedRunnerFromRepoEndpoint; - request: ActionsDeleteSelfHostedRunnerFromRepoRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "delete">; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#delete-a-workflow-run + * @see https://docs.github.com/rest/reference/actions#delete-an-artifact */ - "DELETE /repos/:owner/:repo/actions/runs/:run_id": { - parameters: ActionsDeleteWorkflowRunEndpoint; - request: ActionsDeleteWorkflowRunRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}": Operation< + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#delete-workflow-run-logs + * @see https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-a-repository */ - "DELETE /repos/:owner/:repo/actions/runs/:run_id/logs": { - parameters: ActionsDeleteWorkflowRunLogsEndpoint; - request: ActionsDeleteWorkflowRunLogsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}": Operation< + "/repos/{owner}/{repo}/actions/runners/{runner_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#delete-a-repository-secret + * @see https://docs.github.com/rest/reference/actions#delete-a-workflow-run */ - "DELETE /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsDeleteRepoSecretEndpoint; - request: ActionsDeleteRepoSecretRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/#disable-automated-security-fixes + * @see https://docs.github.com/rest/reference/actions#delete-workflow-run-logs */ - "DELETE /repos/:owner/:repo/automated-security-fixes": { - parameters: ReposDisableAutomatedSecurityFixesEndpoint; - request: ReposDisableAutomatedSecurityFixesRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#delete-branch-protection + * @see https://docs.github.com/rest/reference/actions#delete-a-repository-secret */ - "DELETE /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposDeleteBranchProtectionEndpoint; - request: ReposDeleteBranchProtectionRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation< + "/repos/{owner}/{repo}/actions/secrets/{secret_name}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#delete-admin-branch-protection + * @see https://docs.github.com/v3/repos/#disable-automated-security-fixes */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposDeleteAdminBranchProtectionEndpoint; - request: ReposDeleteAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/automated-security-fixes": Operation< + "/repos/{owner}/{repo}/automated-security-fixes", + "delete", + "london" + >; /** - * @see https://developer.github.com/v3/repos/branches/#delete-pull-request-review-protection + * @see https://docs.github.com/rest/reference/repos#delete-branch-protection */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposDeletePullRequestReviewProtectionEndpoint; - request: ReposDeletePullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#delete-commit-signature-protection + * @see https://docs.github.com/rest/reference/repos#delete-admin-branch-protection */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposDeleteCommitSignatureProtectionEndpoint; - request: ReposDeleteCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#remove-status-check-protection + * @see https://docs.github.com/rest/reference/repos#delete-pull-request-review-protection */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposRemoveStatusCheckProtectionEndpoint; - request: ReposRemoveStatusCheckProtectionRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#remove-status-check-contexts + * @see https://docs.github.com/rest/reference/repos#delete-commit-signature-protection */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposRemoveStatusCheckContextsEndpoint; - request: ReposRemoveStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "delete", + "zzzax" + >; /** - * @see https://developer.github.com/v3/repos/branches/#delete-access-restrictions + * @see https://docs.github.com/rest/reference/repos#remove-status-check-protection */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions": { - parameters: ReposDeleteAccessRestrictionsEndpoint; - request: ReposDeleteAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#remove-app-access-restrictions + * @see https://docs.github.com/rest/reference/repos#remove-status-check-contexts */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposRemoveAppAccessRestrictionsEndpoint; - request: ReposRemoveAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#remove-team-access-restrictions + * @see https://docs.github.com/rest/reference/repos#delete-access-restrictions */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposRemoveTeamAccessRestrictionsEndpoint; - request: ReposRemoveTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/branches/#remove-user-access-restrictions + * @see https://docs.github.com/rest/reference/repos#remove-app-access-restrictions */ - "DELETE /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposRemoveUserAccessRestrictionsEndpoint; - request: ReposRemoveUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/collaborators/#remove-a-repository-collaborator + * @see https://docs.github.com/rest/reference/repos#remove-team-access-restrictions */ - "DELETE /repos/:owner/:repo/collaborators/:username": { - parameters: ReposRemoveCollaboratorEndpoint; - request: ReposRemoveCollaboratorRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/comments/#delete-a-commit-comment + * @see https://docs.github.com/rest/reference/repos#remove-user-access-restrictions */ - "DELETE /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposDeleteCommitCommentEndpoint; - request: ReposDeleteCommitCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "delete" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-a-commit-comment-reaction + * @see https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator */ - "DELETE /repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForCommitCommentEndpoint; - request: ReactionsDeleteForCommitCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/collaborators/{username}": Operation< + "/repos/{owner}/{repo}/collaborators/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/contents/#delete-a-file + * @see https://docs.github.com/rest/reference/repos#delete-a-commit-comment */ - "DELETE /repos/:owner/:repo/contents/:path": { - parameters: ReposDeleteFileEndpoint; - request: ReposDeleteFileRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/comments/{comment_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#delete-a-deployment + * @see https://docs.github.com/v3/reactions/#delete-a-commit-comment-reaction */ - "DELETE /repos/:owner/:repo/deployments/:deployment_id": { - parameters: ReposDeleteDeploymentEndpoint; - request: ReposDeleteDeploymentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}": Operation< + "/repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/git/refs/#delete-a-reference + * @see https://docs.github.com/rest/reference/repos#delete-a-file */ - "DELETE /repos/:owner/:repo/git/refs/:ref": { - parameters: GitDeleteRefEndpoint; - request: GitDeleteRefRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/contents/{path}": Operation< + "/repos/{owner}/{repo}/contents/{path}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/hooks/#delete-a-repository-webhook + * @see https://docs.github.com/rest/reference/repos#delete-a-deployment */ - "DELETE /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposDeleteWebhookEndpoint; - request: ReposDeleteWebhookRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}": Operation< + "/repos/{owner}/{repo}/deployments/{deployment_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#cancel-an-import + * @see https://docs.github.com/rest/reference/git#delete-a-reference */ - "DELETE /repos/:owner/:repo/import": { - parameters: MigrationsCancelImportEndpoint; - request: MigrationsCancelImportRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/git/refs/{ref}": Operation< + "/repos/{owner}/{repo}/git/refs/{ref}", + "delete" + >; /** - * @see https://developer.github.com/v3/interactions/repos/#remove-interaction-restrictions-for-a-repository + * @see https://docs.github.com/rest/reference/repos#delete-a-repository-webhook */ - "DELETE /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsRemoveRestrictionsForRepoEndpoint; - request: InteractionsRemoveRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/hooks/{hook_id}": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/invitations/#delete-a-repository-invitation + * @see https://docs.github.com/rest/reference/migrations#cancel-an-import */ - "DELETE /repos/:owner/:repo/invitations/:invitation_id": { - parameters: ReposDeleteInvitationEndpoint; - request: ReposDeleteInvitationRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/import": Operation< + "/repos/{owner}/{repo}/import", + "delete" + >; /** - * @see https://developer.github.com/v3/issues/assignees/#remove-assignees-from-an-issue + * @see https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-for-a-repository */ - "DELETE /repos/:owner/:repo/issues/:issue_number/assignees": { - parameters: IssuesRemoveAssigneesEndpoint; - request: IssuesRemoveAssigneesRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/interaction-limits": Operation< + "/repos/{owner}/{repo}/interaction-limits", + "delete" + >; /** - * @see https://developer.github.com/v3/issues/labels/#remove-all-labels-from-an-issue + * @see https://docs.github.com/rest/reference/repos#delete-a-repository-invitation */ - "DELETE /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesRemoveAllLabelsEndpoint; - request: IssuesRemoveAllLabelsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}": Operation< + "/repos/{owner}/{repo}/invitations/{invitation_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue + * @see https://docs.github.com/rest/reference/issues#delete-an-issue-comment */ - "DELETE /repos/:owner/:repo/issues/:issue_number/labels/:name": { - parameters: IssuesRemoveLabelEndpoint; - request: IssuesRemoveLabelRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/issues/comments/{comment_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/issues/#unlock-an-issue + * @see https://docs.github.com/v3/reactions/#delete-an-issue-comment-reaction */ - "DELETE /repos/:owner/:repo/issues/:issue_number/lock": { - parameters: IssuesUnlockEndpoint; - request: IssuesUnlockRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}": Operation< + "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-an-issue-reaction + * @see https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue */ - "DELETE /repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id": { - parameters: ReactionsDeleteForIssueEndpoint; - request: ReactionsDeleteForIssueRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/assignees", + "delete" + >; /** - * @see https://developer.github.com/v3/issues/comments/#delete-an-issue-comment + * @see https://docs.github.com/rest/reference/issues#remove-all-labels-from-an-issue */ - "DELETE /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesDeleteCommentEndpoint; - request: IssuesDeleteCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "delete" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-an-issue-comment-reaction + * @see https://docs.github.com/rest/reference/issues#remove-a-label-from-an-issue */ - "DELETE /repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForIssueCommentEndpoint; - request: ReactionsDeleteForIssueCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/labels/{name}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/keys/#delete-a-deploy-key + * @see https://docs.github.com/v3/issues/#unlock-an-issue */ - "DELETE /repos/:owner/:repo/keys/:key_id": { - parameters: ReposDeleteDeployKeyEndpoint; - request: ReposDeleteDeployKeyRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/lock", + "delete" + >; /** - * @see https://developer.github.com/v3/issues/labels/#delete-a-label + * @see https://docs.github.com/v3/reactions/#delete-an-issue-reaction */ - "DELETE /repos/:owner/:repo/labels/:name": { - parameters: IssuesDeleteLabelEndpoint; - request: IssuesDeleteLabelRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/issues/milestones/#delete-a-milestone + * @see https://docs.github.com/rest/reference/repos#delete-a-deploy-key */ - "DELETE /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesDeleteMilestoneEndpoint; - request: IssuesDeleteMilestoneRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/keys/{key_id}": Operation< + "/repos/{owner}/{repo}/keys/{key_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/pages/#delete-a-github-pages-site + * @see https://docs.github.com/rest/reference/issues#delete-a-label */ - "DELETE /repos/:owner/:repo/pages": { - parameters: ReposDeletePagesSiteEndpoint; - request: ReposDeletePagesSiteRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/labels/{name}": Operation< + "/repos/{owner}/{repo}/labels/{name}", + "delete" + >; /** - * @see https://developer.github.com/v3/pulls/review_requests/#remove-requested-reviewers-from-a-pull-request + * @see https://docs.github.com/rest/reference/issues#delete-a-milestone */ - "DELETE /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsRemoveRequestedReviewersEndpoint; - request: PullsRemoveRequestedReviewersRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}": Operation< + "/repos/{owner}/{repo}/milestones/{milestone_number}", + "delete" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#delete-a-pending-review-for-a-pull-request + * @see https://docs.github.com/rest/reference/repos#delete-a-github-pages-site */ - "DELETE /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsDeletePendingReviewEndpoint; - request: PullsDeletePendingReviewRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/pages": Operation< + "/repos/{owner}/{repo}/pages", + "delete", + "switcheroo" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#delete-a-review-comment-for-a-pull-request + * @see https://docs.github.com/rest/reference/pulls#delete-a-review-comment-for-a-pull-request */ - "DELETE /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsDeleteReviewCommentEndpoint; - request: PullsDeleteReviewCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/pulls/comments/{comment_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/reactions/#delete-a-pull-request-comment-reaction + * @see https://docs.github.com/v3/reactions/#delete-a-pull-request-comment-reaction */ - "DELETE /repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id": { - parameters: ReactionsDeleteForPullRequestCommentEndpoint; - request: ReactionsDeleteForPullRequestCommentRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}": Operation< + "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}", + "delete", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/releases/#delete-a-release + * @see https://docs.github.com/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request */ - "DELETE /repos/:owner/:repo/releases/:release_id": { - parameters: ReposDeleteReleaseEndpoint; - request: ReposDeleteReleaseRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/releases/#delete-a-release-asset + * @see https://docs.github.com/rest/reference/pulls#delete-a-pending-review-for-a-pull-request */ - "DELETE /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposDeleteReleaseAssetEndpoint; - request: ReposDeleteReleaseAssetRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/activity/watching/#delete-a-repository-subscription + * @see https://docs.github.com/rest/reference/repos#delete-a-release-asset */ - "DELETE /repos/:owner/:repo/subscription": { - parameters: ActivityDeleteRepoSubscriptionEndpoint; - request: ActivityDeleteRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}": Operation< + "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/#disable-vulnerability-alerts + * @see https://docs.github.com/rest/reference/repos#delete-a-release */ - "DELETE /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposDisableVulnerabilityAlertsEndpoint; - request: ReposDisableVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/releases/{release_id}": Operation< + "/repos/{owner}/{repo}/releases/{release_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-group-from-an-enterprise + * @see https://docs.github.com/rest/reference/activity#delete-a-repository-subscription */ - "DELETE /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": { - parameters: EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint; - request: EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/subscription": Operation< + "/repos/{owner}/{repo}/subscription", + "delete" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#delete-a-scim-user-from-an-enterprise + * @see https://docs.github.com/v3/repos/#disable-vulnerability-alerts */ - "DELETE /scim/v2/enterprises/:enterprise/Users/:scim_user_id": { - parameters: EnterpriseAdminDeleteUserFromEnterpriseEndpoint; - request: EnterpriseAdminDeleteUserFromEnterpriseRequestOptions; - response: OctokitResponse; - }; + "DELETE /repos/{owner}/{repo}/vulnerability-alerts": Operation< + "/repos/{owner}/{repo}/vulnerability-alerts", + "delete", + "dorian" + >; /** - * @see https://developer.github.com/v3/scim/#delete-a-scim-user-from-an-organization + * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-group-from-an-enterprise */ - "DELETE /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimDeleteUserFromOrgEndpoint; - request: ScimDeleteUserFromOrgRequestOptions; - response: OctokitResponse; - }; + "DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/#delete-a-team-legacy + * @see https://docs.github.com/rest/reference/enterprise-admin#delete-a-scim-user-from-an-enterprise */ - "DELETE /teams/:team_id": { - parameters: TeamsDeleteLegacyEndpoint; - request: TeamsDeleteLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#delete-a-discussion-legacy + * @see https://docs.github.com/v3/scim/#delete-a-scim-user-from-an-organization */ - "DELETE /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsDeleteDiscussionLegacyEndpoint; - request: TeamsDeleteDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation< + "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#delete-a-discussion-comment-legacy + * @see https://docs.github.com/v3/teams/#delete-a-team-legacy */ - "DELETE /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsDeleteDiscussionCommentLegacyEndpoint; - request: TeamsDeleteDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}": Operation<"/teams/{team_id}", "delete">; /** - * @see https://developer.github.com/v3/teams/members/#remove-team-member-legacy + * @see https://docs.github.com/rest/reference/teams#delete-a-discussion-legacy */ - "DELETE /teams/:team_id/members/:username": { - parameters: TeamsRemoveMemberLegacyEndpoint; - request: TeamsRemoveMemberLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}/discussions/{discussion_number}": Operation< + "/teams/{team_id}/discussions/{discussion_number}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/members/#remove-team-membership-for-a-user-legacy + * @see https://docs.github.com/rest/reference/teams#delete-a-discussion-comment-legacy */ - "DELETE /teams/:team_id/memberships/:username": { - parameters: TeamsRemoveMembershipForUserLegacyEndpoint; - request: TeamsRemoveMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/#remove-a-project-from-a-team-legacy + * @see https://docs.github.com/rest/reference/teams#remove-team-member-legacy */ - "DELETE /teams/:team_id/projects/:project_id": { - parameters: TeamsRemoveProjectLegacyEndpoint; - request: TeamsRemoveProjectLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}/members/{username}": Operation< + "/teams/{team_id}/members/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/teams/#remove-a-repository-from-a-team-legacy + * @see https://docs.github.com/rest/reference/teams#remove-team-membership-for-a-user-legacy */ - "DELETE /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsRemoveRepoLegacyEndpoint; - request: TeamsRemoveRepoLegacyRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}/memberships/{username}": Operation< + "/teams/{team_id}/memberships/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/users/blocking/#unblock-a-user + * @see https://docs.github.com/v3/teams/#remove-a-project-from-a-team-legacy */ - "DELETE /user/blocks/:username": { - parameters: UsersUnblockEndpoint; - request: UsersUnblockRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}/projects/{project_id}": Operation< + "/teams/{team_id}/projects/{project_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/users/emails/#delete-an-email-address-for-the-authenticated-user + * @see https://docs.github.com/v3/teams/#remove-a-repository-from-a-team-legacy */ - "DELETE /user/emails": { - parameters: UsersDeleteEmailForAuthenticatedEndpoint; - request: UsersDeleteEmailForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "DELETE /teams/{team_id}/repos/{owner}/{repo}": Operation< + "/teams/{team_id}/repos/{owner}/{repo}", + "delete" + >; /** - * @see https://developer.github.com/v3/users/followers/#unfollow-a-user + * @see https://docs.github.com/rest/reference/users#unblock-a-user */ - "DELETE /user/following/:username": { - parameters: UsersUnfollowEndpoint; - request: UsersUnfollowRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/blocks/{username}": Operation< + "/user/blocks/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/users/gpg_keys/#delete-a-gpg-key-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#delete-an-email-address-for-the-authenticated-user */ - "DELETE /user/gpg_keys/:gpg_key_id": { - parameters: UsersDeleteGpgKeyForAuthenticatedEndpoint; - request: UsersDeleteGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/emails": Operation<"/user/emails", "delete">; /** - * @see https://developer.github.com/v3/apps/installations/#remove-a-repository-from-an-app-installation + * @see https://docs.github.com/rest/reference/users#unfollow-a-user */ - "DELETE /user/installations/:installation_id/repositories/:repository_id": { - parameters: AppsRemoveRepoFromInstallationEndpoint; - request: AppsRemoveRepoFromInstallationRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/following/{username}": Operation< + "/user/following/{username}", + "delete" + >; /** - * @see https://developer.github.com/v3/users/keys/#delete-a-public-ssh-key-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#delete-a-gpg-key-for-the-authenticated-user */ - "DELETE /user/keys/:key_id": { - parameters: UsersDeletePublicSshKeyForAuthenticatedEndpoint; - request: UsersDeletePublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/gpg_keys/{gpg_key_id}": Operation< + "/user/gpg_keys/{gpg_key_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/migrations/users/#delete-a-user-migration-archive + * @see https://docs.github.com/rest/reference/apps#remove-a-repository-from-an-app-installation */ - "DELETE /user/migrations/:migration_id/archive": { - parameters: MigrationsDeleteArchiveForAuthenticatedUserEndpoint; - request: MigrationsDeleteArchiveForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/installations/{installation_id}/repositories/{repository_id}": Operation< + "/user/installations/{installation_id}/repositories/{repository_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/migrations/users/#unlock-a-user-repository + * @see https://docs.github.com/rest/reference/interactions#remove-interaction-restrictions-from-your-public-repositories */ - "DELETE /user/migrations/:migration_id/repos/:repo_name/lock": { - parameters: MigrationsUnlockRepoForAuthenticatedUserEndpoint; - request: MigrationsUnlockRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/interaction-limits": Operation< + "/user/interaction-limits", + "delete" + >; /** - * @see https://developer.github.com/v3/repos/invitations/#decline-a-repository-invitation + * @see https://docs.github.com/rest/reference/users#delete-a-public-ssh-key-for-the-authenticated-user */ - "DELETE /user/repository_invitations/:invitation_id": { - parameters: ReposDeclineInvitationEndpoint; - request: ReposDeclineInvitationRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/keys/{key_id}": Operation<"/user/keys/{key_id}", "delete">; /** - * @see https://developer.github.com/v3/activity/starring/#unstar-a-repository-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/migrations#delete-a-user-migration-archive */ - "DELETE /user/starred/:owner/:repo": { - parameters: ActivityUnstarRepoForAuthenticatedUserEndpoint; - request: ActivityUnstarRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/migrations/{migration_id}/archive": Operation< + "/user/migrations/{migration_id}/archive", + "delete", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/apps/#get-the-authenticated-app + * @see https://docs.github.com/rest/reference/migrations#unlock-a-user-repository */ - "GET /app": { - parameters: AppsGetAuthenticatedEndpoint; - request: AppsGetAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock": Operation< + "/user/migrations/{migration_id}/repos/{repo_name}/lock", + "delete", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app + * @see https://docs.github.com/rest/reference/repos#decline-a-repository-invitation */ - "GET /app/installations": { - parameters: AppsListInstallationsEndpoint; - request: AppsListInstallationsRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/repository_invitations/{invitation_id}": Operation< + "/user/repository_invitations/{invitation_id}", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/#get-an-installation-for-the-authenticated-app + * @see https://docs.github.com/rest/reference/activity#unstar-a-repository-for-the-authenticated-user */ - "GET /app/installations/:installation_id": { - parameters: AppsGetInstallationEndpoint; - request: AppsGetInstallationRequestOptions; - response: OctokitResponse; - }; + "DELETE /user/starred/{owner}/{repo}": Operation< + "/user/starred/{owner}/{repo}", + "delete" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization + * @see */ - "GET /applications/:client_id/tokens/:access_token": { - parameters: AppsCheckAuthorizationEndpoint; - request: AppsCheckAuthorizationRequestOptions; - response: OctokitResponse; - }; + "GET /": Operation<"/", "get">; /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-grants + * @see https://docs.github.com/v3/apps/#get-the-authenticated-app */ - "GET /applications/grants": { - parameters: OauthAuthorizationsListGrantsEndpoint; - request: OauthAuthorizationsListGrantsRequestOptions; - response: OctokitResponse; - }; + "GET /app": Operation<"/app", "get">; /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant + * @see https://docs.github.com/v3/apps#get-a-webhook-configuration-for-an-app */ - "GET /applications/grants/:grant_id": { - parameters: OauthAuthorizationsGetGrantEndpoint; - request: OauthAuthorizationsGetGrantRequestOptions; - response: OctokitResponse; - }; + "GET /app/hook/config": Operation<"/app/hook/config", "get">; /** - * @see https://developer.github.com/v3/apps/#get-an-app + * @see https://docs.github.com/v3/apps/#list-installations-for-the-authenticated-app */ - "GET /apps/:app_slug": { - parameters: AppsGetBySlugEndpoint; - request: AppsGetBySlugRequestOptions; - response: OctokitResponse; - }; + "GET /app/installations": Operation<"/app/installations", "get">; /** - * @see https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations + * @see https://docs.github.com/v3/apps/#get-an-installation-for-the-authenticated-app */ - "GET /authorizations": { - parameters: OauthAuthorizationsListAuthorizationsEndpoint; - request: OauthAuthorizationsListAuthorizationsRequestOptions; - response: OctokitResponse< - OauthAuthorizationsListAuthorizationsResponseData - >; - }; + "GET /app/installations/{installation_id}": Operation< + "/app/installations/{installation_id}", + "get" + >; /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization + * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-grants */ - "GET /authorizations/:authorization_id": { - parameters: OauthAuthorizationsGetAuthorizationEndpoint; - request: OauthAuthorizationsGetAuthorizationRequestOptions; - response: OctokitResponse; - }; + "GET /applications/grants": Operation<"/applications/grants", "get">; /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct + * @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-grant */ - "GET /codes_of_conduct": { - parameters: CodesOfConductGetAllCodesOfConductEndpoint; - request: CodesOfConductGetAllCodesOfConductRequestOptions; - response: OctokitResponse; - }; + "GET /applications/grants/{grant_id}": Operation< + "/applications/grants/{grant_id}", + "get" + >; /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-a-code-of-conduct + * @see https://docs.github.com/rest/reference/apps#check-an-authorization */ - "GET /codes_of_conduct/:key": { - parameters: CodesOfConductGetConductCodeEndpoint; - request: CodesOfConductGetConductCodeRequestOptions; - response: OctokitResponse; - }; + "GET /applications/{client_id}/tokens/{access_token}": Operation< + "/applications/{client_id}/tokens/{access_token}", + "get" + >; /** - * @see https://developer.github.com/v3/emojis/#get-emojis + * @see https://docs.github.com/v3/apps/#get-an-app */ - "GET /emojis": { - parameters: EmojisGetEndpoint; - request: EmojisGetRequestOptions; - response: OctokitResponse; - }; + "GET /apps/{app_slug}": Operation<"/apps/{app_slug}", "get">; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runner-groups-for-an-enterprise + * @see https://docs.github.com/rest/reference/oauth-authorizations#list-your-authorizations */ - "GET /enterprises/:enterprise/actions/runner-groups": { - parameters: EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseEndpoint; - request: EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponseData - >; - }; + "GET /authorizations": Operation<"/authorizations", "get">; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#get-a-self-hosted-runner-group-for-an-enterprise + * @see https://docs.github.com/rest/reference/oauth-authorizations#get-a-single-authorization */ - "GET /enterprises/:enterprise/actions/runner-groups/:runner_group_id": { - parameters: EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseEndpoint; - request: EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseResponseData - >; - }; + "GET /authorizations/{authorization_id}": Operation< + "/authorizations/{authorization_id}", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise + * @see https://docs.github.com/v3/codes_of_conduct/#get-all-codes-of-conduct */ - "GET /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations": { - parameters: EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint; - request: EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseResponseData - >; - }; + "GET /codes_of_conduct": Operation< + "/codes_of_conduct", + "get", + "scarlet-witch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runners-in-a-group-for-an-enterprise + * @see https://docs.github.com/v3/codes_of_conduct/#get-a-code-of-conduct */ - "GET /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners": { - parameters: EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseEndpoint; - request: EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponseData - >; - }; + "GET /codes_of_conduct/{key}": Operation< + "/codes_of_conduct/{key}", + "get", + "scarlet-witch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#list-self-hosted-runners-for-an-enterprise + * @see https://docs.github.com/v3/emojis/#get-emojis */ - "GET /enterprises/:enterprise/actions/runners": { - parameters: EnterpriseAdminListSelfHostedRunnersForEnterpriseEndpoint; - request: EnterpriseAdminListSelfHostedRunnersForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListSelfHostedRunnersForEnterpriseResponseData - >; - }; + "GET /emojis": Operation<"/emojis", "get">; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#get-a-self-hosted-runner-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#get-github-actions-permissions-for-an-enterprise */ - "GET /enterprises/:enterprise/actions/runners/:runner_id": { - parameters: EnterpriseAdminGetSelfHostedRunnerForEnterpriseEndpoint; - request: EnterpriseAdminGetSelfHostedRunnerForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetSelfHostedRunnerForEnterpriseResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/permissions": Operation< + "/enterprises/{enterprise}/actions/permissions", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#list-runner-applications-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#list-selected-organizations-enabled-for-github-actions-in-an-enterprise */ - "GET /enterprises/:enterprise/actions/runners/downloads": { - parameters: EnterpriseAdminListRunnerApplicationsForEnterpriseEndpoint; - request: EnterpriseAdminListRunnerApplicationsForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListRunnerApplicationsForEnterpriseResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/permissions/organizations": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-actions-billing-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#get-allowed-actions-for-an-enterprise */ - "GET /enterprises/:enterprise/settings/billing/actions": { - parameters: EnterpriseAdminGetGithubActionsBillingGheEndpoint; - request: EnterpriseAdminGetGithubActionsBillingGheRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetGithubActionsBillingGheResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/permissions/selected-actions": Operation< + "/enterprises/{enterprise}/actions/permissions/selected-actions", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-packages-billing-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runner-groups-for-an-enterprise */ - "GET /enterprises/:enterprise/settings/billing/packages": { - parameters: EnterpriseAdminGetGithubPackagesBillingGheEndpoint; - request: EnterpriseAdminGetGithubPackagesBillingGheRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetGithubPackagesBillingGheResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/runner-groups": Operation< + "/enterprises/{enterprise}/actions/runner-groups", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/billing/#get-shared-storage-billing-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-group-for-an-enterprise */ - "GET /enterprises/:enterprise/settings/billing/shared-storage": { - parameters: EnterpriseAdminGetSharedStorageBillingGheEndpoint; - request: EnterpriseAdminGetSharedStorageBillingGheRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetSharedStorageBillingGheResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-actions-billing-for-an-enterprise - * @deprecated "enterprise_id" is deprecated, use "enterprise" instead + * @see https://docs.github.com/rest/reference/enterprise-admin#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise */ - "GET /enterprises/:enterprise_id/settings/billing/actions": { - parameters: EnterpriseAdminGetGithubActionsBillingGheDeprecatedEnterpriseIdEndpoint; - request: EnterpriseAdminGetGithubActionsBillingGheRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetGithubActionsBillingGheResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/billing/#get-github-packages-billing-for-an-enterprise - * @deprecated "enterprise_id" is deprecated, use "enterprise" instead + * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-in-a-group-for-an-enterprise */ - "GET /enterprises/:enterprise_id/settings/billing/packages": { - parameters: EnterpriseAdminGetGithubPackagesBillingGheDeprecatedEnterpriseIdEndpoint; - request: EnterpriseAdminGetGithubPackagesBillingGheRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetGithubPackagesBillingGheResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/billing/#get-shared-storage-billing-for-an-enterprise - * @deprecated "enterprise_id" is deprecated, use "enterprise" instead + * @see https://docs.github.com/rest/reference/enterprise-admin#list-self-hosted-runners-for-an-enterprise */ - "GET /enterprises/:enterprise_id/settings/billing/shared-storage": { - parameters: EnterpriseAdminGetSharedStorageBillingGheDeprecatedEnterpriseIdEndpoint; - request: EnterpriseAdminGetSharedStorageBillingGheRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetSharedStorageBillingGheResponseData - >; - }; + "GET /enterprises/{enterprise}/actions/runners": Operation< + "/enterprises/{enterprise}/actions/runners", + "get" + >; /** - * @see https://developer.github.com/v3/activity/events/#list-public-events + * @see https://docs.github.com/rest/reference/enterprise-admin#list-runner-applications-for-an-enterprise */ - "GET /events": { - parameters: ActivityListPublicEventsEndpoint; - request: ActivityListPublicEventsRequestOptions; - response: OctokitResponse; - }; + "GET /enterprises/{enterprise}/actions/runners/downloads": Operation< + "/enterprises/{enterprise}/actions/runners/downloads", + "get" + >; /** - * @see https://developer.github.com/v3/activity/feeds/#get-feeds + * @see https://docs.github.com/rest/reference/enterprise-admin#get-a-self-hosted-runner-for-an-enterprise */ - "GET /feeds": { - parameters: ActivityGetFeedsEndpoint; - request: ActivityGetFeedsRequestOptions; - response: OctokitResponse; - }; + "GET /enterprises/{enterprise}/actions/runners/{runner_id}": Operation< + "/enterprises/{enterprise}/actions/runners/{runner_id}", + "get" + >; /** - * @see https://developer.github.com/v3/gists/#list-gists-for-the-authenticated-user + * @see https://docs.github.com/v3/billing/#get-github-actions-billing-for-an-enterprise */ - "GET /gists": { - parameters: GistsListEndpoint; - request: GistsListRequestOptions; - response: OctokitResponse; - }; + "GET /enterprises/{enterprise}/settings/billing/actions": Operation< + "/enterprises/{enterprise}/settings/billing/actions", + "get" + >; /** - * @see https://developer.github.com/v3/gists/#get-a-gist + * @see https://docs.github.com/v3/billing/#get-github-packages-billing-for-an-enterprise */ - "GET /gists/:gist_id": { - parameters: GistsGetEndpoint; - request: GistsGetRequestOptions; - response: OctokitResponse; - }; + "GET /enterprises/{enterprise}/settings/billing/packages": Operation< + "/enterprises/{enterprise}/settings/billing/packages", + "get" + >; /** - * @see https://developer.github.com/v3/gists/#get-a-gist-revision + * @see https://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-enterprise */ - "GET /gists/:gist_id/:sha": { - parameters: GistsGetRevisionEndpoint; - request: GistsGetRevisionRequestOptions; - response: OctokitResponse; - }; + "GET /enterprises/{enterprise}/settings/billing/shared-storage": Operation< + "/enterprises/{enterprise}/settings/billing/shared-storage", + "get" + >; /** - * @see https://developer.github.com/v3/gists/comments/#list-gist-comments + * @see https://docs.github.com/rest/reference/activity#list-public-events */ - "GET /gists/:gist_id/comments": { - parameters: GistsListCommentsEndpoint; - request: GistsListCommentsRequestOptions; - response: OctokitResponse; - }; + "GET /events": Operation<"/events", "get">; /** - * @see https://developer.github.com/v3/gists/comments/#get-a-gist-comment + * @see https://docs.github.com/rest/reference/activity#get-feeds */ - "GET /gists/:gist_id/comments/:comment_id": { - parameters: GistsGetCommentEndpoint; - request: GistsGetCommentRequestOptions; - response: OctokitResponse; - }; + "GET /feeds": Operation<"/feeds", "get">; /** - * @see https://developer.github.com/v3/gists/#list-gist-commits + * @see https://docs.github.com/v3/gists/#list-gists-for-the-authenticated-user */ - "GET /gists/:gist_id/commits": { - parameters: GistsListCommitsEndpoint; - request: GistsListCommitsRequestOptions; - response: OctokitResponse; - }; + "GET /gists": Operation<"/gists", "get">; /** - * @see https://developer.github.com/v3/gists/#list-gist-forks + * @see https://docs.github.com/v3/gists/#list-public-gists */ - "GET /gists/:gist_id/forks": { - parameters: GistsListForksEndpoint; - request: GistsListForksRequestOptions; - response: OctokitResponse; - }; + "GET /gists/public": Operation<"/gists/public", "get">; /** - * @see https://developer.github.com/v3/gists/#check-if-a-gist-is-starred + * @see https://docs.github.com/v3/gists/#list-starred-gists */ - "GET /gists/:gist_id/star": { - parameters: GistsCheckIsStarredEndpoint; - request: GistsCheckIsStarredRequestOptions; - response: OctokitResponse; - }; + "GET /gists/starred": Operation<"/gists/starred", "get">; /** - * @see https://developer.github.com/v3/gists/#list-public-gists + * @see https://docs.github.com/v3/gists/#get-a-gist */ - "GET /gists/public": { - parameters: GistsListPublicEndpoint; - request: GistsListPublicRequestOptions; - response: OctokitResponse; - }; + "GET /gists/{gist_id}": Operation<"/gists/{gist_id}", "get">; /** - * @see https://developer.github.com/v3/gists/#list-starred-gists + * @see https://docs.github.com/rest/reference/gists#list-gist-comments */ - "GET /gists/starred": { - parameters: GistsListStarredEndpoint; - request: GistsListStarredRequestOptions; - response: OctokitResponse; - }; + "GET /gists/{gist_id}/comments": Operation< + "/gists/{gist_id}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/gitignore/#get-all-gitignore-templates + * @see https://docs.github.com/rest/reference/gists#get-a-gist-comment */ - "GET /gitignore/templates": { - parameters: GitignoreGetAllTemplatesEndpoint; - request: GitignoreGetAllTemplatesRequestOptions; - response: OctokitResponse; - }; + "GET /gists/{gist_id}/comments/{comment_id}": Operation< + "/gists/{gist_id}/comments/{comment_id}", + "get" + >; /** - * @see https://developer.github.com/v3/gitignore/#get-a-gitignore-template + * @see https://docs.github.com/v3/gists/#list-gist-commits */ - "GET /gitignore/templates/:name": { - parameters: GitignoreGetTemplateEndpoint; - request: GitignoreGetTemplateRequestOptions; - response: OctokitResponse; - }; + "GET /gists/{gist_id}/commits": Operation<"/gists/{gist_id}/commits", "get">; /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation + * @see https://docs.github.com/v3/gists/#list-gist-forks */ - "GET /installation/repositories": { - parameters: AppsListReposAccessibleToInstallationEndpoint; - request: AppsListReposAccessibleToInstallationRequestOptions; - response: OctokitResponse< - AppsListReposAccessibleToInstallationResponseData - >; - }; + "GET /gists/{gist_id}/forks": Operation<"/gists/{gist_id}/forks", "get">; /** - * @see https://developer.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user + * @see https://docs.github.com/v3/gists/#check-if-a-gist-is-starred */ - "GET /issues": { - parameters: IssuesListEndpoint; - request: IssuesListRequestOptions; - response: OctokitResponse; - }; + "GET /gists/{gist_id}/star": Operation<"/gists/{gist_id}/star", "get">; /** - * @see https://developer.github.com/v3/licenses/#get-all-commonly-used-licenses + * @see https://docs.github.com/v3/gists/#get-a-gist-revision */ - "GET /licenses": { - parameters: LicensesGetAllCommonlyUsedEndpoint; - request: LicensesGetAllCommonlyUsedRequestOptions; - response: OctokitResponse; - }; + "GET /gists/{gist_id}/{sha}": Operation<"/gists/{gist_id}/{sha}", "get">; /** - * @see https://developer.github.com/v3/licenses/#get-a-license + * @see https://docs.github.com/v3/gitignore/#get-all-gitignore-templates */ - "GET /licenses/:license": { - parameters: LicensesGetEndpoint; - request: LicensesGetRequestOptions; - response: OctokitResponse; - }; + "GET /gitignore/templates": Operation<"/gitignore/templates", "get">; /** - * @see https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account + * @see https://docs.github.com/v3/gitignore/#get-a-gitignore-template */ - "GET /marketplace_listing/accounts/:account_id": { - parameters: AppsGetSubscriptionPlanForAccountEndpoint; - request: AppsGetSubscriptionPlanForAccountRequestOptions; - response: OctokitResponse; - }; + "GET /gitignore/templates/{name}": Operation< + "/gitignore/templates/{name}", + "get" + >; /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans + * @see https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-app-installation */ - "GET /marketplace_listing/plans": { - parameters: AppsListPlansEndpoint; - request: AppsListPlansRequestOptions; - response: OctokitResponse; - }; + "GET /installation/repositories": Operation< + "/installation/repositories", + "get" + >; /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan + * @see https://docs.github.com/v3/issues/#list-issues-assigned-to-the-authenticated-user */ - "GET /marketplace_listing/plans/:plan_id/accounts": { - parameters: AppsListAccountsForPlanEndpoint; - request: AppsListAccountsForPlanRequestOptions; - response: OctokitResponse; - }; + "GET /issues": Operation<"/issues", "get">; /** - * @see https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed + * @see https://docs.github.com/v3/licenses/#get-all-commonly-used-licenses */ - "GET /marketplace_listing/stubbed/accounts/:account_id": { - parameters: AppsGetSubscriptionPlanForAccountStubbedEndpoint; - request: AppsGetSubscriptionPlanForAccountStubbedRequestOptions; - response: OctokitResponse< - AppsGetSubscriptionPlanForAccountStubbedResponseData - >; - }; + "GET /licenses": Operation<"/licenses", "get">; /** - * @see https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed + * @see https://docs.github.com/v3/licenses/#get-a-license */ - "GET /marketplace_listing/stubbed/plans": { - parameters: AppsListPlansStubbedEndpoint; - request: AppsListPlansStubbedRequestOptions; - response: OctokitResponse; - }; + "GET /licenses/{license}": Operation<"/licenses/{license}", "get">; /** - * @see https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed + * @see https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account */ - "GET /marketplace_listing/stubbed/plans/:plan_id/accounts": { - parameters: AppsListAccountsForPlanStubbedEndpoint; - request: AppsListAccountsForPlanStubbedRequestOptions; - response: OctokitResponse; - }; + "GET /marketplace_listing/accounts/{account_id}": Operation< + "/marketplace_listing/accounts/{account_id}", + "get" + >; /** - * @see https://developer.github.com/v3/meta/#get-github-meta-information + * @see https://docs.github.com/rest/reference/apps#list-plans */ - "GET /meta": { - parameters: MetaGetEndpoint; - request: MetaGetRequestOptions; - response: OctokitResponse; - }; + "GET /marketplace_listing/plans": Operation< + "/marketplace_listing/plans", + "get" + >; /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories + * @see https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan */ - "GET /networks/:owner/:repo/events": { - parameters: ActivityListPublicEventsForRepoNetworkEndpoint; - request: ActivityListPublicEventsForRepoNetworkRequestOptions; - response: OctokitResponse; - }; + "GET /marketplace_listing/plans/{plan_id}/accounts": Operation< + "/marketplace_listing/plans/{plan_id}/accounts", + "get" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#list-notifications-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/apps#get-a-subscription-plan-for-an-account-stubbed */ - "GET /notifications": { - parameters: ActivityListNotificationsForAuthenticatedUserEndpoint; - request: ActivityListNotificationsForAuthenticatedUserRequestOptions; - response: OctokitResponse< - ActivityListNotificationsForAuthenticatedUserResponseData - >; - }; + "GET /marketplace_listing/stubbed/accounts/{account_id}": Operation< + "/marketplace_listing/stubbed/accounts/{account_id}", + "get" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#get-a-thread + * @see https://docs.github.com/rest/reference/apps#list-plans-stubbed */ - "GET /notifications/threads/:thread_id": { - parameters: ActivityGetThreadEndpoint; - request: ActivityGetThreadRequestOptions; - response: OctokitResponse; - }; + "GET /marketplace_listing/stubbed/plans": Operation< + "/marketplace_listing/stubbed/plans", + "get" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#get-a-thread-subscription-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/apps#list-accounts-for-a-plan-stubbed */ - "GET /notifications/threads/:thread_id/subscription": { - parameters: ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint; - request: ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions; - response: OctokitResponse< - ActivityGetThreadSubscriptionForAuthenticatedUserResponseData - >; - }; + "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts": Operation< + "/marketplace_listing/stubbed/plans/{plan_id}/accounts", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/#list-organizations + * @see https://docs.github.com/v3/meta/#get-github-meta-information */ - "GET /organizations": { - parameters: OrgsListEndpoint; - request: OrgsListRequestOptions; - response: OctokitResponse; - }; + "GET /meta": Operation<"/meta", "get">; /** - * @see https://developer.github.com/v3/orgs/#get-an-organization + * @see https://docs.github.com/rest/reference/activity#list-public-events-for-a-network-of-repositories */ - "GET /orgs/:org": { - parameters: OrgsGetEndpoint; - request: OrgsGetRequestOptions; - response: OctokitResponse; - }; + "GET /networks/{owner}/{repo}/events": Operation< + "/networks/{owner}/{repo}/events", + "get" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-self-hosted-runner-groups-for-an-organization + * @see https://docs.github.com/rest/reference/activity#list-notifications-for-the-authenticated-user */ - "GET /orgs/:org/actions/runner-groups": { - parameters: ActionsListSelfHostedRunnerGroupsForOrgEndpoint; - request: ActionsListSelfHostedRunnerGroupsForOrgRequestOptions; - response: OctokitResponse< - ActionsListSelfHostedRunnerGroupsForOrgResponseData - >; - }; + "GET /notifications": Operation<"/notifications", "get">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#get-a-self-hosted-runner-group-for-an-organization + * @see https://docs.github.com/rest/reference/activity#get-a-thread */ - "GET /orgs/:org/actions/runner-groups/:runner_group_id": { - parameters: ActionsGetSelfHostedRunnerGroupForOrgEndpoint; - request: ActionsGetSelfHostedRunnerGroupForOrgRequestOptions; - response: OctokitResponse< - ActionsGetSelfHostedRunnerGroupForOrgResponseData - >; - }; + "GET /notifications/threads/{thread_id}": Operation< + "/notifications/threads/{thread_id}", + "get" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-repository-access-to-a-self-hosted-runner-group-in-an-organization + * @see https://docs.github.com/rest/reference/activity#get-a-thread-subscription-for-the-authenticated-user */ - "GET /orgs/:org/actions/runner-groups/:runner_group_id/repositories": { - parameters: ActionsListRepoAccessToSelfHostedRunnerGroupInOrgEndpoint; - request: ActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions; - response: OctokitResponse< - ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseData - >; - }; + "GET /notifications/threads/{thread_id}/subscription": Operation< + "/notifications/threads/{thread_id}/subscription", + "get" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#list-self-hosted-runners-in-a-group-for-an-organization + * @see */ - "GET /orgs/:org/actions/runner-groups/:runner_group_id/runners": { - parameters: ActionsListSelfHostedRunnersInGroupForOrgEndpoint; - request: ActionsListSelfHostedRunnersInGroupForOrgRequestOptions; - response: OctokitResponse< - ActionsListSelfHostedRunnersInGroupForOrgResponseData - >; - }; + "GET /octocat": Operation<"/octocat", "get">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-an-organization + * @see https://docs.github.com/v3/orgs/#list-organizations */ - "GET /orgs/:org/actions/runners": { - parameters: ActionsListSelfHostedRunnersForOrgEndpoint; - request: ActionsListSelfHostedRunnersForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /organizations": Operation<"/organizations", "get">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-an-organization + * @see https://docs.github.com/v3/orgs/#get-an-organization */ - "GET /orgs/:org/actions/runners/:runner_id": { - parameters: ActionsGetSelfHostedRunnerForOrgEndpoint; - request: ActionsGetSelfHostedRunnerForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}": Operation<"/orgs/{org}", "get">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-an-organization + * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-an-organization */ - "GET /orgs/:org/actions/runners/downloads": { - parameters: ActionsListRunnerApplicationsForOrgEndpoint; - request: ActionsListRunnerApplicationsForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/permissions": Operation< + "/orgs/{org}/actions/permissions", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#list-organization-secrets + * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-enabled-for-github-actions-in-an-organization */ - "GET /orgs/:org/actions/secrets": { - parameters: ActionsListOrgSecretsEndpoint; - request: ActionsListOrgSecretsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/permissions/repositories": Operation< + "/orgs/{org}/actions/permissions/repositories", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#get-an-organization-secret + * @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-an-organization */ - "GET /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsGetOrgSecretEndpoint; - request: ActionsGetOrgSecretRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/permissions/selected-actions": Operation< + "/orgs/{org}/actions/permissions/selected-actions", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret + * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runner-groups-for-an-organization */ - "GET /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: ActionsListSelectedReposForOrgSecretEndpoint; - request: ActionsListSelectedReposForOrgSecretRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runner-groups": Operation< + "/orgs/{org}/actions/runner-groups", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key + * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-group-for-an-organization */ - "GET /orgs/:org/actions/secrets/public-key": { - parameters: ActionsGetOrgPublicKeyEndpoint; - request: ActionsGetOrgPublicKeyRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/blocking/#list-users-blocked-by-an-organization + * @see https://docs.github.com/rest/reference/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization */ - "GET /orgs/:org/blocks": { - parameters: OrgsListBlockedUsersEndpoint; - request: OrgsListBlockedUsersRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/blocking/#check-if-a-user-is-blocked-by-an-organization + * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-in-a-group-for-an-organization */ - "GET /orgs/:org/blocks/:username": { - parameters: OrgsCheckBlockedUserEndpoint; - request: OrgsCheckBlockedUserRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization + * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-an-organization */ - "GET /orgs/:org/credential-authorizations": { - parameters: OrgsListSamlSsoAuthorizationsEndpoint; - request: OrgsListSamlSsoAuthorizationsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runners": Operation< + "/orgs/{org}/actions/runners", + "get" + >; /** - * @see https://developer.github.com/v3/activity/events/#list-public-organization-events + * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-an-organization */ - "GET /orgs/:org/events": { - parameters: ActivityListPublicOrgEventsEndpoint; - request: ActivityListPublicOrgEventsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runners/downloads": Operation< + "/orgs/{org}/actions/runners/downloads", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/hooks/#list-organization-webhooks + * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-an-organization */ - "GET /orgs/:org/hooks": { - parameters: OrgsListWebhooksEndpoint; - request: OrgsListWebhooksRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/runners/{runner_id}": Operation< + "/orgs/{org}/actions/runners/{runner_id}", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/hooks/#get-an-organization-webhook + * @see https://docs.github.com/rest/reference/actions#list-organization-secrets */ - "GET /orgs/:org/hooks/:hook_id": { - parameters: OrgsGetWebhookEndpoint; - request: OrgsGetWebhookRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/secrets": Operation< + "/orgs/{org}/actions/secrets", + "get" + >; /** - * @see https://developer.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app + * @see https://docs.github.com/rest/reference/actions#get-an-organization-public-key */ - "GET /orgs/:org/installation": { - parameters: AppsGetOrgInstallationEndpoint; - request: AppsGetOrgInstallationRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/secrets/public-key": Operation< + "/orgs/{org}/actions/secrets/public-key", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/#list-app-installations-for-an-organization + * @see https://docs.github.com/rest/reference/actions#get-an-organization-secret */ - "GET /orgs/:org/installations": { - parameters: OrgsListAppInstallationsEndpoint; - request: OrgsListAppInstallationsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/secrets/{secret_name}": Operation< + "/orgs/{org}/actions/secrets/{secret_name}", + "get" + >; /** - * @see https://developer.github.com/v3/interactions/orgs/#get-interaction-restrictions-for-an-organization + * @see https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret */ - "GET /orgs/:org/interaction-limits": { - parameters: InteractionsGetRestrictionsForOrgEndpoint; - request: InteractionsGetRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/actions/secrets/{secret_name}/repositories": Operation< + "/orgs/{org}/actions/secrets/{secret_name}/repositories", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/members/#list-pending-organization-invitations + * @see https://docs.github.com/rest/reference/orgs#list-users-blocked-by-an-organization */ - "GET /orgs/:org/invitations": { - parameters: OrgsListPendingInvitationsEndpoint; - request: OrgsListPendingInvitationsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/blocks": Operation<"/orgs/{org}/blocks", "get">; /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-invitation-teams + * @see https://docs.github.com/rest/reference/orgs#check-if-a-user-is-blocked-by-an-organization */ - "GET /orgs/:org/invitations/:invitation_id/teams": { - parameters: OrgsListInvitationTeamsEndpoint; - request: OrgsListInvitationTeamsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/blocks/{username}": Operation< + "/orgs/{org}/blocks/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user + * @see https://docs.github.com/v3/orgs/#list-saml-sso-authorizations-for-an-organization */ - "GET /orgs/:org/issues": { - parameters: IssuesListForOrgEndpoint; - request: IssuesListForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/credential-authorizations": Operation< + "/orgs/{org}/credential-authorizations", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-members + * @see https://docs.github.com/rest/reference/activity#list-public-organization-events */ - "GET /orgs/:org/members": { - parameters: OrgsListMembersEndpoint; - request: OrgsListMembersRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/events": Operation<"/orgs/{org}/events", "get">; /** - * @see https://developer.github.com/v3/orgs/members/#check-organization-membership-for-a-user + * @see https://docs.github.com/rest/reference/orgs#list-organization-webhooks */ - "GET /orgs/:org/members/:username": { - parameters: OrgsCheckMembershipForUserEndpoint; - request: OrgsCheckMembershipForUserRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/hooks": Operation<"/orgs/{org}/hooks", "get">; /** - * @see https://developer.github.com/v3/orgs/members/#get-organization-membership-for-a-user + * @see https://docs.github.com/rest/reference/orgs#get-an-organization-webhook */ - "GET /orgs/:org/memberships/:username": { - parameters: OrgsGetMembershipForUserEndpoint; - request: OrgsGetMembershipForUserRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/hooks/{hook_id}": Operation< + "/orgs/{org}/hooks/{hook_id}", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/orgs/#list-organization-migrations + * @see https://docs.github.com/v3/orgs#get-a-webhook-configuration-for-an-organization */ - "GET /orgs/:org/migrations": { - parameters: MigrationsListForOrgEndpoint; - request: MigrationsListForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/hooks/{hook_id}/config": Operation< + "/orgs/{org}/hooks/{hook_id}/config", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/orgs/#get-an-organization-migration-status + * @see https://docs.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app */ - "GET /orgs/:org/migrations/:migration_id": { - parameters: MigrationsGetStatusForOrgEndpoint; - request: MigrationsGetStatusForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/installation": Operation<"/orgs/{org}/installation", "get">; /** - * @see https://developer.github.com/v3/migrations/orgs/#download-an-organization-migration-archive + * @see https://docs.github.com/v3/orgs/#list-app-installations-for-an-organization */ - "GET /orgs/:org/migrations/:migration_id/archive": { - parameters: MigrationsDownloadArchiveForOrgEndpoint; - request: MigrationsDownloadArchiveForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/installations": Operation< + "/orgs/{org}/installations", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/orgs/#list-repositories-in-an-organization-migration + * @see https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-an-organization */ - "GET /orgs/:org/migrations/:migration_id/repositories": { - parameters: MigrationsListReposForOrgEndpoint; - request: MigrationsListReposForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/interaction-limits": Operation< + "/orgs/{org}/interaction-limits", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#list-outside-collaborators-for-an-organization + * @see https://docs.github.com/rest/reference/orgs#list-pending-organization-invitations */ - "GET /orgs/:org/outside_collaborators": { - parameters: OrgsListOutsideCollaboratorsEndpoint; - request: OrgsListOutsideCollaboratorsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "get">; /** - * @see https://developer.github.com/v3/projects/#list-organization-projects + * @see https://docs.github.com/rest/reference/orgs#list-organization-invitation-teams */ - "GET /orgs/:org/projects": { - parameters: ProjectsListForOrgEndpoint; - request: ProjectsListForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/invitations/{invitation_id}/teams": Operation< + "/orgs/{org}/invitations/{invitation_id}/teams", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/members/#list-public-organization-members + * @see https://docs.github.com/v3/issues/#list-organization-issues-assigned-to-the-authenticated-user */ - "GET /orgs/:org/public_members": { - parameters: OrgsListPublicMembersEndpoint; - request: OrgsListPublicMembersRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/issues": Operation<"/orgs/{org}/issues", "get">; /** - * @see https://developer.github.com/v3/orgs/members/#check-public-organization-membership-for-a-user + * @see https://docs.github.com/rest/reference/orgs#list-organization-members */ - "GET /orgs/:org/public_members/:username": { - parameters: OrgsCheckPublicMembershipForUserEndpoint; - request: OrgsCheckPublicMembershipForUserRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/members": Operation<"/orgs/{org}/members", "get">; /** - * @see https://developer.github.com/v3/repos/#list-organization-repositories + * @see https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user */ - "GET /orgs/:org/repos": { - parameters: ReposListForOrgEndpoint; - request: ReposListForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/members/{username}": Operation< + "/orgs/{org}/members/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/billing/#get-github-actions-billing-for-an-organization + * @see https://docs.github.com/rest/reference/orgs#get-organization-membership-for-a-user */ - "GET /orgs/:org/settings/billing/actions": { - parameters: BillingGetGithubActionsBillingOrgEndpoint; - request: BillingGetGithubActionsBillingOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/memberships/{username}": Operation< + "/orgs/{org}/memberships/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/billing/#get-github-packages-billing-for-an-organization + * @see https://docs.github.com/rest/reference/migrations#list-organization-migrations */ - "GET /orgs/:org/settings/billing/packages": { - parameters: BillingGetGithubPackagesBillingOrgEndpoint; - request: BillingGetGithubPackagesBillingOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/migrations": Operation< + "/orgs/{org}/migrations", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/billing/#get-shared-storage-billing-for-an-organization + * @see https://docs.github.com/rest/reference/migrations#get-an-organization-migration-status */ - "GET /orgs/:org/settings/billing/shared-storage": { - parameters: BillingGetSharedStorageBillingOrgEndpoint; - request: BillingGetSharedStorageBillingOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/migrations/{migration_id}": Operation< + "/orgs/{org}/migrations/{migration_id}", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-an-organization + * @see https://docs.github.com/rest/reference/migrations#download-an-organization-migration-archive */ - "GET /orgs/:org/team-sync/groups": { - parameters: TeamsListIdPGroupsForOrgEndpoint; - request: TeamsListIdPGroupsForOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/migrations/{migration_id}/archive": Operation< + "/orgs/{org}/migrations/{migration_id}/archive", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/teams/#list-teams + * @see https://docs.github.com/rest/reference/migrations#list-repositories-in-an-organization-migration */ - "GET /orgs/:org/teams": { - parameters: TeamsListEndpoint; - request: TeamsListRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/migrations/{migration_id}/repositories": Operation< + "/orgs/{org}/migrations/{migration_id}/repositories", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/teams/#get-a-team-by-name + * @see https://docs.github.com/rest/reference/orgs#list-outside-collaborators-for-an-organization */ - "GET /orgs/:org/teams/:team_slug": { - parameters: TeamsGetByNameEndpoint; - request: TeamsGetByNameRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/outside_collaborators": Operation< + "/orgs/{org}/outside_collaborators", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions + * @see https://docs.github.com/v3/projects/#list-organization-projects */ - "GET /orgs/:org/teams/:team_slug/discussions": { - parameters: TeamsListDiscussionsInOrgEndpoint; - request: TeamsListDiscussionsInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/projects": Operation< + "/orgs/{org}/projects", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#get-a-discussion + * @see https://docs.github.com/rest/reference/orgs#list-public-organization-members */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsGetDiscussionInOrgEndpoint; - request: TeamsGetDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/public_members": Operation< + "/orgs/{org}/public_members", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments + * @see https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: TeamsListDiscussionCommentsInOrgEndpoint; - request: TeamsListDiscussionCommentsInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/public_members/{username}": Operation< + "/orgs/{org}/public_members/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment + * @see https://docs.github.com/v3/repos/#list-organization-repositories */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsGetDiscussionCommentInOrgEndpoint; - request: TeamsGetDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "get">; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment + * @see https://docs.github.com/v3/billing/#get-github-actions-billing-for-an-organization */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsListForTeamDiscussionCommentInOrgEndpoint; - request: ReactionsListForTeamDiscussionCommentInOrgRequestOptions; - response: OctokitResponse< - ReactionsListForTeamDiscussionCommentInOrgResponseData - >; - }; + "GET /orgs/{org}/settings/billing/actions": Operation< + "/orgs/{org}/settings/billing/actions", + "get" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion + * @see https://docs.github.com/v3/billing/#get-github-packages-billing-for-an-organization */ - "GET /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: ReactionsListForTeamDiscussionInOrgEndpoint; - request: ReactionsListForTeamDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/settings/billing/packages": Operation< + "/orgs/{org}/settings/billing/packages", + "get" + >; /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations + * @see https://docs.github.com/v3/billing/#get-shared-storage-billing-for-an-organization */ - "GET /orgs/:org/teams/:team_slug/invitations": { - parameters: TeamsListPendingInvitationsInOrgEndpoint; - request: TeamsListPendingInvitationsInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/settings/billing/shared-storage": Operation< + "/orgs/{org}/settings/billing/shared-storage", + "get" + >; /** - * @see https://developer.github.com/v3/teams/members/#list-team-members + * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-an-organization */ - "GET /orgs/:org/teams/:team_slug/members": { - parameters: TeamsListMembersInOrgEndpoint; - request: TeamsListMembersInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/team-sync/groups": Operation< + "/orgs/{org}/team-sync/groups", + "get" + >; /** - * @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user + * @see https://docs.github.com/v3/teams/#list-teams */ - "GET /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsGetMembershipForUserInOrgEndpoint; - request: TeamsGetMembershipForUserInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "get">; /** - * @see https://developer.github.com/v3/teams/#list-team-projects + * @see https://docs.github.com/v3/teams/#get-a-team-by-name */ - "GET /orgs/:org/teams/:team_slug/projects": { - parameters: TeamsListProjectsInOrgEndpoint; - request: TeamsListProjectsInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}": Operation< + "/orgs/{org}/teams/{team_slug}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project + * @see https://docs.github.com/rest/reference/teams#list-discussions */ - "GET /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsCheckPermissionsForProjectInOrgEndpoint; - request: TeamsCheckPermissionsForProjectInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/discussions": Operation< + "/orgs/{org}/teams/{team_slug}/discussions", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#list-team-repositories + * @see https://docs.github.com/rest/reference/teams#get-a-discussion */ - "GET /orgs/:org/teams/:team_slug/repos": { - parameters: TeamsListReposInOrgEndpoint; - request: TeamsListReposInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository + * @see https://docs.github.com/rest/reference/teams#list-discussion-comments */ - "GET /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsCheckPermissionsForRepoInOrgEndpoint; - request: TeamsCheckPermissionsForRepoInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team + * @see https://docs.github.com/rest/reference/teams#get-a-discussion-comment */ - "GET /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: TeamsListIdPGroupsInOrgEndpoint; - request: TeamsListIdPGroupsInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#list-child-teams + * @see https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment */ - "GET /orgs/:org/teams/:team_slug/teams": { - parameters: TeamsListChildInOrgEndpoint; - request: TeamsListChildInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/projects/#get-a-project + * @see https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion */ - "GET /projects/:project_id": { - parameters: ProjectsGetEndpoint; - request: ProjectsGetRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/projects/collaborators/#list-project-collaborators + * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations */ - "GET /projects/:project_id/collaborators": { - parameters: ProjectsListCollaboratorsEndpoint; - request: ProjectsListCollaboratorsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/invitations": Operation< + "/orgs/{org}/teams/{team_slug}/invitations", + "get" + >; /** - * @see https://developer.github.com/v3/projects/collaborators/#get-project-permission-for-a-user + * @see https://docs.github.com/rest/reference/teams#list-team-members */ - "GET /projects/:project_id/collaborators/:username/permission": { - parameters: ProjectsGetPermissionForUserEndpoint; - request: ProjectsGetPermissionForUserRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/members": Operation< + "/orgs/{org}/teams/{team_slug}/members", + "get" + >; /** - * @see https://developer.github.com/v3/projects/columns/#list-project-columns + * @see https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user */ - "GET /projects/:project_id/columns": { - parameters: ProjectsListColumnsEndpoint; - request: ProjectsListColumnsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation< + "/orgs/{org}/teams/{team_slug}/memberships/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/projects/columns/#get-a-project-column + * @see https://docs.github.com/v3/teams/#list-team-projects */ - "GET /projects/columns/:column_id": { - parameters: ProjectsGetColumnEndpoint; - request: ProjectsGetColumnRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/projects": Operation< + "/orgs/{org}/teams/{team_slug}/projects", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/projects/cards/#list-project-cards + * @see https://docs.github.com/v3/teams/#check-team-permissions-for-a-project */ - "GET /projects/columns/:column_id/cards": { - parameters: ProjectsListCardsEndpoint; - request: ProjectsListCardsRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation< + "/orgs/{org}/teams/{team_slug}/projects/{project_id}", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/projects/cards/#get-a-project-card + * @see https://docs.github.com/v3/teams/#list-team-repositories */ - "GET /projects/columns/cards/:card_id": { - parameters: ProjectsGetCardEndpoint; - request: ProjectsGetCardRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/repos": Operation< + "/orgs/{org}/teams/{team_slug}/repos", + "get" + >; /** - * @see https://developer.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user + * @see https://docs.github.com/v3/teams/#check-team-permissions-for-a-repository */ - "GET /rate_limit": { - parameters: RateLimitGetEndpoint; - request: RateLimitGetRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation< + "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/#get-a-repository + * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team */ - "GET /repos/:owner/:repo": { - parameters: ReposGetEndpoint; - request: ReposGetRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": Operation< + "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", + "get" + >; /** - * @see https://developer.github.com/v3/repos/contents/#download-a-repository-archive + * @see https://docs.github.com/v3/teams/#list-child-teams */ - "GET /repos/:owner/:repo/:archive_format/:ref": { - parameters: ReposDownloadArchiveEndpoint; - request: ReposDownloadArchiveRequestOptions; - response: OctokitResponse; - }; + "GET /orgs/{org}/teams/{team_slug}/teams": Operation< + "/orgs/{org}/teams/{team_slug}/teams", + "get" + >; /** - * @see https://developer.github.com/v3/actions/artifacts/#list-artifacts-for-a-repository + * @see https://docs.github.com/rest/reference/projects#get-a-project-card */ - "GET /repos/:owner/:repo/actions/artifacts": { - parameters: ActionsListArtifactsForRepoEndpoint; - request: ActionsListArtifactsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /projects/columns/cards/{card_id}": Operation< + "/projects/columns/cards/{card_id}", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/artifacts/#get-an-artifact + * @see https://docs.github.com/rest/reference/projects#get-a-project-column */ - "GET /repos/:owner/:repo/actions/artifacts/:artifact_id": { - parameters: ActionsGetArtifactEndpoint; - request: ActionsGetArtifactRequestOptions; - response: OctokitResponse; - }; + "GET /projects/columns/{column_id}": Operation< + "/projects/columns/{column_id}", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/artifacts/#download-an-artifact + * @see https://docs.github.com/rest/reference/projects#list-project-cards */ - "GET /repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format": { - parameters: ActionsDownloadArtifactEndpoint; - request: ActionsDownloadArtifactRequestOptions; - response: OctokitResponse; - }; + "GET /projects/columns/{column_id}/cards": Operation< + "/projects/columns/{column_id}/cards", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#get-a-job-for-a-workflow-run + * @see https://docs.github.com/v3/projects/#get-a-project */ - "GET /repos/:owner/:repo/actions/jobs/:job_id": { - parameters: ActionsGetJobForWorkflowRunEndpoint; - request: ActionsGetJobForWorkflowRunRequestOptions; - response: OctokitResponse; - }; + "GET /projects/{project_id}": Operation< + "/projects/{project_id}", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#download-job-logs-for-a-workflow-run + * @see https://docs.github.com/rest/reference/projects#list-project-collaborators */ - "GET /repos/:owner/:repo/actions/jobs/:job_id/logs": { - parameters: ActionsDownloadJobLogsForWorkflowRunEndpoint; - request: ActionsDownloadJobLogsForWorkflowRunRequestOptions; - response: OctokitResponse; - }; + "GET /projects/{project_id}/collaborators": Operation< + "/projects/{project_id}/collaborators", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-self-hosted-runners-for-a-repository + * @see https://docs.github.com/rest/reference/projects#get-project-permission-for-a-user */ - "GET /repos/:owner/:repo/actions/runners": { - parameters: ActionsListSelfHostedRunnersForRepoEndpoint; - request: ActionsListSelfHostedRunnersForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /projects/{project_id}/collaborators/{username}/permission": Operation< + "/projects/{project_id}/collaborators/{username}/permission", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#get-a-self-hosted-runner-for-a-repository + * @see https://docs.github.com/rest/reference/projects#list-project-columns */ - "GET /repos/:owner/:repo/actions/runners/:runner_id": { - parameters: ActionsGetSelfHostedRunnerForRepoEndpoint; - request: ActionsGetSelfHostedRunnerForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /projects/{project_id}/columns": Operation< + "/projects/{project_id}/columns", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#list-runner-applications-for-a-repository + * @see https://docs.github.com/v3/rate_limit/#get-rate-limit-status-for-the-authenticated-user */ - "GET /repos/:owner/:repo/actions/runners/downloads": { - parameters: ActionsListRunnerApplicationsForRepoEndpoint; - request: ActionsListRunnerApplicationsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /rate_limit": Operation<"/rate_limit", "get">; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs-for-a-repository + * @see https://docs.github.com/v3/repos/#get-a-repository */ - "GET /repos/:owner/:repo/actions/runs": { - parameters: ActionsListWorkflowRunsForRepoEndpoint; - request: ActionsListWorkflowRunsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "get">; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#get-a-workflow-run + * @see https://docs.github.com/rest/reference/actions#list-artifacts-for-a-repository */ - "GET /repos/:owner/:repo/actions/runs/:run_id": { - parameters: ActionsGetWorkflowRunEndpoint; - request: ActionsGetWorkflowRunRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/artifacts": Operation< + "/repos/{owner}/{repo}/actions/artifacts", + "get" + >; /** - * @see https://developer.github.com/v3/actions/artifacts/#list-workflow-run-artifacts + * @see https://docs.github.com/rest/reference/actions#get-an-artifact */ - "GET /repos/:owner/:repo/actions/runs/:run_id/artifacts": { - parameters: ActionsListWorkflowRunArtifactsEndpoint; - request: ActionsListWorkflowRunArtifactsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}": Operation< + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflow-jobs/#list-jobs-for-a-workflow-run + * @see https://docs.github.com/rest/reference/actions#download-an-artifact */ - "GET /repos/:owner/:repo/actions/runs/:run_id/jobs": { - parameters: ActionsListJobsForWorkflowRunEndpoint; - request: ActionsListJobsForWorkflowRunRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}": Operation< + "/repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#download-workflow-run-logs + * @see https://docs.github.com/rest/reference/actions#get-a-job-for-a-workflow-run */ - "GET /repos/:owner/:repo/actions/runs/:run_id/logs": { - parameters: ActionsDownloadWorkflowRunLogsEndpoint; - request: ActionsDownloadWorkflowRunLogsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/jobs/{job_id}": Operation< + "/repos/{owner}/{repo}/actions/jobs/{job_id}", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#get-workflow-run-usage + * @see https://docs.github.com/rest/reference/actions#download-job-logs-for-a-workflow-run */ - "GET /repos/:owner/:repo/actions/runs/:run_id/timing": { - parameters: ActionsGetWorkflowRunUsageEndpoint; - request: ActionsGetWorkflowRunUsageRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs": Operation< + "/repos/{owner}/{repo}/actions/jobs/{job_id}/logs", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#list-repository-secrets + * @see https://docs.github.com/rest/reference/actions#get-github-actions-permissions-for-a-repository */ - "GET /repos/:owner/:repo/actions/secrets": { - parameters: ActionsListRepoSecretsEndpoint; - request: ActionsListRepoSecretsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/permissions": Operation< + "/repos/{owner}/{repo}/actions/permissions", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#get-a-repository-secret + * @see https://docs.github.com/rest/reference/actions#get-allowed-actions-for-a-repository */ - "GET /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsGetRepoSecretEndpoint; - request: ActionsGetRepoSecretRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/permissions/selected-actions": Operation< + "/repos/{owner}/{repo}/actions/permissions/selected-actions", + "get" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key + * @see https://docs.github.com/rest/reference/actions#list-self-hosted-runners-for-a-repository */ - "GET /repos/:owner/:repo/actions/secrets/public-key": { - parameters: ActionsGetRepoPublicKeyEndpoint; - request: ActionsGetRepoPublicKeyRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runners": Operation< + "/repos/{owner}/{repo}/actions/runners", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflows/#list-repository-workflows + * @see https://docs.github.com/rest/reference/actions#list-runner-applications-for-a-repository */ - "GET /repos/:owner/:repo/actions/workflows": { - parameters: ActionsListRepoWorkflowsEndpoint; - request: ActionsListRepoWorkflowsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runners/downloads": Operation< + "/repos/{owner}/{repo}/actions/runners/downloads", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflows/#get-a-workflow + * @see https://docs.github.com/rest/reference/actions#get-a-self-hosted-runner-for-a-repository */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id": { - parameters: ActionsGetWorkflowEndpoint; - request: ActionsGetWorkflowRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runners/{runner_id}": Operation< + "/repos/{owner}/{repo}/actions/runners/{runner_id}", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#list-workflow-runs + * @see https://docs.github.com/rest/reference/actions#list-workflow-runs-for-a-repository */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/runs": { - parameters: ActionsListWorkflowRunsEndpoint; - request: ActionsListWorkflowRunsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runs": Operation< + "/repos/{owner}/{repo}/actions/runs", + "get" + >; /** - * @see https://developer.github.com/v3/actions/workflows/#get-workflow-usage + * @see https://docs.github.com/rest/reference/actions#get-a-workflow-run */ - "GET /repos/:owner/:repo/actions/workflows/:workflow_id/timing": { - parameters: ActionsGetWorkflowUsageEndpoint; - request: ActionsGetWorkflowUsageRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runs/{run_id}": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/assignees/#list-assignees + * @see https://docs.github.com/rest/reference/actions#list-workflow-run-artifacts */ - "GET /repos/:owner/:repo/assignees": { - parameters: IssuesListAssigneesEndpoint; - request: IssuesListAssigneesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", + "get" + >; /** - * @see https://developer.github.com/v3/issues/assignees/#check-if-a-user-can-be-assigned + * @see https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run */ - "GET /repos/:owner/:repo/assignees/:assignee": { - parameters: IssuesCheckUserCanBeAssignedEndpoint; - request: IssuesCheckUserCanBeAssignedRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/jobs", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#list-branches + * @see https://docs.github.com/rest/reference/actions#download-workflow-run-logs */ - "GET /repos/:owner/:repo/branches": { - parameters: ReposListBranchesEndpoint; - request: ReposListBranchesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/logs", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-a-branch + * @see https://docs.github.com/rest/reference/actions#get-workflow-run-usage */ - "GET /repos/:owner/:repo/branches/:branch": { - parameters: ReposGetBranchEndpoint; - request: ReposGetBranchRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/timing", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-branch-protection + * @see https://docs.github.com/rest/reference/actions#list-repository-secrets */ - "GET /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposGetBranchProtectionEndpoint; - request: ReposGetBranchProtectionRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/secrets": Operation< + "/repos/{owner}/{repo}/actions/secrets", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-admin-branch-protection + * @see https://docs.github.com/rest/reference/actions#get-a-repository-public-key */ - "GET /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposGetAdminBranchProtectionEndpoint; - request: ReposGetAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/secrets/public-key": Operation< + "/repos/{owner}/{repo}/actions/secrets/public-key", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-pull-request-review-protection + * @see https://docs.github.com/rest/reference/actions#get-a-repository-secret */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposGetPullRequestReviewProtectionEndpoint; - request: ReposGetPullRequestReviewProtectionRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation< + "/repos/{owner}/{repo}/actions/secrets/{secret_name}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-commit-signature-protection + * @see https://docs.github.com/rest/reference/actions#list-repository-workflows */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposGetCommitSignatureProtectionEndpoint; - request: ReposGetCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/workflows": Operation< + "/repos/{owner}/{repo}/actions/workflows", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-status-checks-protection + * @see https://docs.github.com/rest/reference/actions#get-a-workflow */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposGetStatusChecksProtectionEndpoint; - request: ReposGetStatusChecksProtectionRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}": Operation< + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-all-status-check-contexts + * @see https://docs.github.com/rest/reference/actions#list-workflow-runs */ - "GET /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposGetAllStatusCheckContextsEndpoint; - request: ReposGetAllStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs": Operation< + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#get-access-restrictions + * @see https://docs.github.com/rest/reference/actions#get-workflow-usage */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions": { - parameters: ReposGetAccessRestrictionsEndpoint; - request: ReposGetAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing": Operation< + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#list-apps-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/reference/issues#list-assignees */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposGetAppsWithAccessToProtectedBranchEndpoint; - request: ReposGetAppsWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse< - ReposGetAppsWithAccessToProtectedBranchResponseData - >; - }; + "GET /repos/{owner}/{repo}/assignees": Operation< + "/repos/{owner}/{repo}/assignees", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#list-teams-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/reference/issues#check-if-a-user-can-be-assigned */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposGetTeamsWithAccessToProtectedBranchEndpoint; - request: ReposGetTeamsWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse< - ReposGetTeamsWithAccessToProtectedBranchResponseData - >; - }; + "GET /repos/{owner}/{repo}/assignees/{assignee}": Operation< + "/repos/{owner}/{repo}/assignees/{assignee}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/branches/#list-users-with-access-to-the-protected-branch + * @see https://docs.github.com/rest/reference/repos#list-branches */ - "GET /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposGetUsersWithAccessToProtectedBranchEndpoint; - request: ReposGetUsersWithAccessToProtectedBranchRequestOptions; - response: OctokitResponse< - ReposGetUsersWithAccessToProtectedBranchResponseData - >; - }; + "GET /repos/{owner}/{repo}/branches": Operation< + "/repos/{owner}/{repo}/branches", + "get" + >; /** - * @see https://developer.github.com/v3/checks/runs/#get-a-check-run + * @see https://docs.github.com/rest/reference/repos#get-a-branch */ - "GET /repos/:owner/:repo/check-runs/:check_run_id": { - parameters: ChecksGetEndpoint; - request: ChecksGetRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}": Operation< + "/repos/{owner}/{repo}/branches/{branch}", + "get" + >; /** - * @see https://developer.github.com/v3/checks/runs/#list-check-run-annotations + * @see https://docs.github.com/rest/reference/repos#get-branch-protection */ - "GET /repos/:owner/:repo/check-runs/:check_run_id/annotations": { - parameters: ChecksListAnnotationsEndpoint; - request: ChecksListAnnotationsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection", + "get" + >; /** - * @see https://developer.github.com/v3/checks/suites/#get-a-check-suite + * @see https://docs.github.com/rest/reference/repos#get-admin-branch-protection */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id": { - parameters: ChecksGetSuiteEndpoint; - request: ChecksGetSuiteRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "get" + >; /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-in-a-check-suite + * @see https://docs.github.com/rest/reference/repos#get-pull-request-review-protection */ - "GET /repos/:owner/:repo/check-suites/:check_suite_id/check-runs": { - parameters: ChecksListForSuiteEndpoint; - request: ChecksListForSuiteRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "get" + >; /** - * @see https://developer.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository + * @see https://docs.github.com/rest/reference/repos#get-commit-signature-protection */ - "GET /repos/:owner/:repo/code-scanning/alerts": { - parameters: CodeScanningListAlertsForRepoEndpoint; - request: CodeScanningListAlertsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "get", + "zzzax" + >; /** - * @see https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert - * @deprecated "alert_id" is deprecated, use "alert_number" instead + * @see https://docs.github.com/rest/reference/repos#get-status-checks-protection */ - "GET /repos/:owner/:repo/code-scanning/alerts/:alert_id": { - parameters: CodeScanningGetAlertDeprecatedAlertIdEndpoint; - request: CodeScanningGetAlertRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "get" + >; /** - * @see https://developer.github.com/v3/code-scanning/#get-a-code-scanning-alert + * @see https://docs.github.com/rest/reference/repos#get-all-status-check-contexts */ - "GET /repos/:owner/:repo/code-scanning/alerts/:alert_number": { - parameters: CodeScanningGetAlertEndpoint; - request: CodeScanningGetAlertRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "get" + >; /** - * @see https://developer.github.com/v3/code-scanning/#list-recent-analyses + * @see https://docs.github.com/rest/reference/repos#get-access-restrictions */ - "GET /repos/:owner/:repo/code-scanning/analyses": { - parameters: CodeScanningListRecentAnalysesEndpoint; - request: CodeScanningListRecentAnalysesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions", + "get" + >; /** - * @see https://developer.github.com/v3/repos/collaborators/#list-repository-collaborators + * @see https://docs.github.com/rest/reference/repos#list-apps-with-access-to-the-protected-branch */ - "GET /repos/:owner/:repo/collaborators": { - parameters: ReposListCollaboratorsEndpoint; - request: ReposListCollaboratorsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "get" + >; /** - * @see https://developer.github.com/v3/repos/collaborators/#check-if-a-user-is-a-repository-collaborator + * @see https://docs.github.com/rest/reference/repos#list-teams-with-access-to-the-protected-branch */ - "GET /repos/:owner/:repo/collaborators/:username": { - parameters: ReposCheckCollaboratorEndpoint; - request: ReposCheckCollaboratorRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "get" + >; /** - * @see https://developer.github.com/v3/repos/collaborators/#get-repository-permissions-for-a-user + * @see https://docs.github.com/rest/reference/repos#list-users-with-access-to-the-protected-branch */ - "GET /repos/:owner/:repo/collaborators/:username/permission": { - parameters: ReposGetCollaboratorPermissionLevelEndpoint; - request: ReposGetCollaboratorPermissionLevelRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "get" + >; /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments-for-a-repository + * @see https://docs.github.com/rest/reference/checks#get-a-check-run */ - "GET /repos/:owner/:repo/comments": { - parameters: ReposListCommitCommentsForRepoEndpoint; - request: ReposListCommitCommentsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/check-runs/{check_run_id}": Operation< + "/repos/{owner}/{repo}/check-runs/{check_run_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/comments/#get-a-commit-comment + * @see https://docs.github.com/rest/reference/checks#list-check-run-annotations */ - "GET /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposGetCommitCommentEndpoint; - request: ReposGetCommitCommentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations": Operation< + "/repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", + "get" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment + * @see https://docs.github.com/rest/reference/checks#get-a-check-suite */ - "GET /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: ReactionsListForCommitCommentEndpoint; - request: ReactionsListForCommitCommentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}": Operation< + "/repos/{owner}/{repo}/check-suites/{check_suite_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/commits/#list-commits + * @see https://docs.github.com/rest/reference/checks#list-check-runs-in-a-check-suite */ - "GET /repos/:owner/:repo/commits": { - parameters: ReposListCommitsEndpoint; - request: ReposListCommitsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs": Operation< + "/repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", + "get" + >; /** - * @see https://developer.github.com/v3/repos/commits/#list-branches-for-head-commit + * @see https://docs.github.com/v3/code-scanning/#list-code-scanning-alerts-for-a-repository */ - "GET /repos/:owner/:repo/commits/:commit_sha/branches-where-head": { - parameters: ReposListBranchesForHeadCommitEndpoint; - request: ReposListBranchesForHeadCommitRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/code-scanning/alerts": Operation< + "/repos/{owner}/{repo}/code-scanning/alerts", + "get" + >; /** - * @see https://developer.github.com/v3/repos/comments/#list-commit-comments + * @see https://docs.github.com/v3/code-scanning/#get-a-code-scanning-alert + * @deprecated "alert_id" is now "alert_number" */ - "GET /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: ReposListCommentsForCommitEndpoint; - request: ReposListCommentsForCommitRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_id}": Operation< + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/commits/#list-pull-requests-associated-with-a-commit + * @see https://docs.github.com/v3/code-scanning/#get-a-code-scanning-alert */ - "GET /repos/:owner/:repo/commits/:commit_sha/pulls": { - parameters: ReposListPullRequestsAssociatedWithCommitEndpoint; - request: ReposListPullRequestsAssociatedWithCommitRequestOptions; - response: OctokitResponse< - ReposListPullRequestsAssociatedWithCommitResponseData - >; - }; + "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation< + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/commits/#get-a-commit + * @see https://docs.github.com/v3/code-scanning/#list-recent-analyses */ - "GET /repos/:owner/:repo/commits/:ref": { - parameters: ReposGetCommitEndpoint; - request: ReposGetCommitRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/code-scanning/analyses": Operation< + "/repos/{owner}/{repo}/code-scanning/analyses", + "get" + >; /** - * @see https://developer.github.com/v3/checks/runs/#list-check-runs-for-a-git-reference + * @see https://docs.github.com/rest/reference/repos#list-repository-collaborators */ - "GET /repos/:owner/:repo/commits/:ref/check-runs": { - parameters: ChecksListForRefEndpoint; - request: ChecksListForRefRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/collaborators": Operation< + "/repos/{owner}/{repo}/collaborators", + "get" + >; /** - * @see https://developer.github.com/v3/checks/suites/#list-check-suites-for-a-git-reference + * @see https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator */ - "GET /repos/:owner/:repo/commits/:ref/check-suites": { - parameters: ChecksListSuitesForRefEndpoint; - request: ChecksListSuitesForRefRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/collaborators/{username}": Operation< + "/repos/{owner}/{repo}/collaborators/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-reference + * @see https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user */ - "GET /repos/:owner/:repo/commits/:ref/status": { - parameters: ReposGetCombinedStatusForRefEndpoint; - request: ReposGetCombinedStatusForRefRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/collaborators/{username}/permission": Operation< + "/repos/{owner}/{repo}/collaborators/{username}/permission", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statuses/#list-commit-statuses-for-a-reference + * @see https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository */ - "GET /repos/:owner/:repo/commits/:ref/statuses": { - parameters: ReposListCommitStatusesForRefEndpoint; - request: ReposListCommitStatusesForRefRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/comments": Operation< + "/repos/{owner}/{repo}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository + * @see https://docs.github.com/rest/reference/repos#get-a-commit-comment */ - "GET /repos/:owner/:repo/community/code_of_conduct": { - parameters: CodesOfConductGetForRepoEndpoint; - request: CodesOfConductGetForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/comments/{comment_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/community/#get-community-profile-metrics + * @see https://docs.github.com/v3/reactions/#list-reactions-for-a-commit-comment */ - "GET /repos/:owner/:repo/community/profile": { - parameters: ReposGetCommunityProfileMetricsEndpoint; - request: ReposGetCommunityProfileMetricsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation< + "/repos/{owner}/{repo}/comments/{comment_id}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/commits/#compare-two-commits + * @see https://docs.github.com/rest/reference/repos#list-commits */ - "GET /repos/:owner/:repo/compare/:base...:head": { - parameters: ReposCompareCommitsEndpoint; - request: ReposCompareCommitsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits": Operation< + "/repos/{owner}/{repo}/commits", + "get" + >; /** - * @see https://developer.github.com/v3/repos/contents/#get-repository-content + * @see https://docs.github.com/rest/reference/repos#list-branches-for-head-commit */ - "GET /repos/:owner/:repo/contents/:path": { - parameters: ReposGetContentEndpoint; - request: ReposGetContentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head": Operation< + "/repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head", + "get", + "groot" + >; /** - * @see https://developer.github.com/v3/repos/#list-repository-contributors + * @see https://docs.github.com/rest/reference/repos#list-commit-comments */ - "GET /repos/:owner/:repo/contributors": { - parameters: ReposListContributorsEndpoint; - request: ReposListContributorsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation< + "/repos/{owner}/{repo}/commits/{commit_sha}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployments + * @see https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit */ - "GET /repos/:owner/:repo/deployments": { - parameters: ReposListDeploymentsEndpoint; - request: ReposListDeploymentsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls": Operation< + "/repos/{owner}/{repo}/commits/{commit_sha}/pulls", + "get", + "groot" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#get-a-deployment + * @see https://docs.github.com/rest/reference/repos#get-a-commit */ - "GET /repos/:owner/:repo/deployments/:deployment_id": { - parameters: ReposGetDeploymentEndpoint; - request: ReposGetDeploymentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{ref}": Operation< + "/repos/{owner}/{repo}/commits/{ref}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#list-deployment-statuses + * @see https://docs.github.com/rest/reference/checks#list-check-runs-for-a-git-reference */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: ReposListDeploymentStatusesEndpoint; - request: ReposListDeploymentStatusesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{ref}/check-runs": Operation< + "/repos/{owner}/{repo}/commits/{ref}/check-runs", + "get" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#get-a-deployment-status + * @see https://docs.github.com/rest/reference/checks#list-check-suites-for-a-git-reference */ - "GET /repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id": { - parameters: ReposGetDeploymentStatusEndpoint; - request: ReposGetDeploymentStatusRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{ref}/check-suites": Operation< + "/repos/{owner}/{repo}/commits/{ref}/check-suites", + "get" + >; /** - * @see https://developer.github.com/v3/activity/events/#list-repository-events + * @see https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference */ - "GET /repos/:owner/:repo/events": { - parameters: ActivityListRepoEventsEndpoint; - request: ActivityListRepoEventsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{ref}/status": Operation< + "/repos/{owner}/{repo}/commits/{ref}/status", + "get" + >; /** - * @see https://developer.github.com/v3/repos/forks/#list-forks + * @see https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference */ - "GET /repos/:owner/:repo/forks": { - parameters: ReposListForksEndpoint; - request: ReposListForksRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/commits/{ref}/statuses": Operation< + "/repos/{owner}/{repo}/commits/{ref}/statuses", + "get" + >; /** - * @see https://developer.github.com/v3/git/blobs/#get-a-blob + * @see https://docs.github.com/v3/codes_of_conduct/#get-the-code-of-conduct-for-a-repository */ - "GET /repos/:owner/:repo/git/blobs/:file_sha": { - parameters: GitGetBlobEndpoint; - request: GitGetBlobRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/community/code_of_conduct": Operation< + "/repos/{owner}/{repo}/community/code_of_conduct", + "get", + "scarlet-witch" + >; /** - * @see https://developer.github.com/v3/git/commits/#get-a-commit + * @see https://docs.github.com/rest/reference/repos#get-community-profile-metrics */ - "GET /repos/:owner/:repo/git/commits/:commit_sha": { - parameters: GitGetCommitEndpoint; - request: GitGetCommitRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/community/profile": Operation< + "/repos/{owner}/{repo}/community/profile", + "get" + >; /** - * @see https://developer.github.com/v3/git/refs/#list-matching-references + * @see https://docs.github.com/rest/reference/repos#compare-two-commits */ - "GET /repos/:owner/:repo/git/matching-refs/:ref": { - parameters: GitListMatchingRefsEndpoint; - request: GitListMatchingRefsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/compare/{base}...{head}": Operation< + "/repos/{owner}/{repo}/compare/{base}...{head}", + "get" + >; /** - * @see https://developer.github.com/v3/git/refs/#get-a-reference + * @see https://docs.github.com/rest/reference/repos#get-repository-content */ - "GET /repos/:owner/:repo/git/ref/:ref": { - parameters: GitGetRefEndpoint; - request: GitGetRefRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/contents/{path}": Operation< + "/repos/{owner}/{repo}/contents/{path}", + "get" + >; /** - * @see https://developer.github.com/v3/git/tags/#get-a-tag + * @see https://docs.github.com/v3/repos/#list-repository-contributors */ - "GET /repos/:owner/:repo/git/tags/:tag_sha": { - parameters: GitGetTagEndpoint; - request: GitGetTagRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/contributors": Operation< + "/repos/{owner}/{repo}/contributors", + "get" + >; /** - * @see https://developer.github.com/v3/git/trees/#get-a-tree + * @see https://docs.github.com/rest/reference/repos#list-deployments */ - "GET /repos/:owner/:repo/git/trees/:tree_sha": { - parameters: GitGetTreeEndpoint; - request: GitGetTreeRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/deployments": Operation< + "/repos/{owner}/{repo}/deployments", + "get" + >; /** - * @see https://developer.github.com/v3/repos/hooks/#list-repository-webhooks + * @see https://docs.github.com/rest/reference/repos#get-a-deployment */ - "GET /repos/:owner/:repo/hooks": { - parameters: ReposListWebhooksEndpoint; - request: ReposListWebhooksRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/deployments/{deployment_id}": Operation< + "/repos/{owner}/{repo}/deployments/{deployment_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/hooks/#get-a-repository-webhook + * @see https://docs.github.com/rest/reference/repos#list-deployment-statuses */ - "GET /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposGetWebhookEndpoint; - request: ReposGetWebhookRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation< + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-an-import-status + * @see https://docs.github.com/rest/reference/repos#get-a-deployment-status */ - "GET /repos/:owner/:repo/import": { - parameters: MigrationsGetImportStatusEndpoint; - request: MigrationsGetImportStatusRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}": Operation< + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-commit-authors + * @see https://docs.github.com/rest/reference/activity#list-repository-events */ - "GET /repos/:owner/:repo/import/authors": { - parameters: MigrationsGetCommitAuthorsEndpoint; - request: MigrationsGetCommitAuthorsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/events": Operation< + "/repos/{owner}/{repo}/events", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#get-large-files + * @see https://docs.github.com/rest/reference/repos#list-forks */ - "GET /repos/:owner/:repo/import/large_files": { - parameters: MigrationsGetLargeFilesEndpoint; - request: MigrationsGetLargeFilesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/forks": Operation< + "/repos/{owner}/{repo}/forks", + "get" + >; /** - * @see https://developer.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app + * @see https://docs.github.com/rest/reference/git#get-a-blob */ - "GET /repos/:owner/:repo/installation": { - parameters: AppsGetRepoInstallationEndpoint; - request: AppsGetRepoInstallationRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/git/blobs/{file_sha}": Operation< + "/repos/{owner}/{repo}/git/blobs/{file_sha}", + "get" + >; /** - * @see https://developer.github.com/v3/interactions/repos/#get-interaction-restrictions-for-a-repository + * @see https://docs.github.com/rest/reference/git#get-a-commit */ - "GET /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsGetRestrictionsForRepoEndpoint; - request: InteractionsGetRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/git/commits/{commit_sha}": Operation< + "/repos/{owner}/{repo}/git/commits/{commit_sha}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations + * @see https://docs.github.com/rest/reference/git#list-matching-references */ - "GET /repos/:owner/:repo/invitations": { - parameters: ReposListInvitationsEndpoint; - request: ReposListInvitationsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/git/matching-refs/{ref}": Operation< + "/repos/{owner}/{repo}/git/matching-refs/{ref}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/#list-repository-issues + * @see https://docs.github.com/rest/reference/git#get-a-reference */ - "GET /repos/:owner/:repo/issues": { - parameters: IssuesListForRepoEndpoint; - request: IssuesListForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/git/ref/{ref}": Operation< + "/repos/{owner}/{repo}/git/ref/{ref}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/#get-an-issue + * @see https://docs.github.com/rest/reference/git#get-a-tag */ - "GET /repos/:owner/:repo/issues/:issue_number": { - parameters: IssuesGetEndpoint; - request: IssuesGetRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/git/tags/{tag_sha}": Operation< + "/repos/{owner}/{repo}/git/tags/{tag_sha}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments + * @see https://docs.github.com/rest/reference/git#get-a-tree */ - "GET /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: IssuesListCommentsEndpoint; - request: IssuesListCommentsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/git/trees/{tree_sha}": Operation< + "/repos/{owner}/{repo}/git/trees/{tree_sha}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events + * @see https://docs.github.com/rest/reference/repos#list-repository-webhooks */ - "GET /repos/:owner/:repo/issues/:issue_number/events": { - parameters: IssuesListEventsEndpoint; - request: IssuesListEventsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/hooks": Operation< + "/repos/{owner}/{repo}/hooks", + "get" + >; /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-an-issue + * @see https://docs.github.com/rest/reference/repos#get-a-repository-webhook */ - "GET /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesListLabelsOnIssueEndpoint; - request: IssuesListLabelsOnIssueRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/hooks/{hook_id}": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}", + "get" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue + * @see https://docs.github.com/v3/repos#get-a-webhook-configuration-for-a-repository */ - "GET /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: ReactionsListForIssueEndpoint; - request: ReactionsListForIssueRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}/config", + "get" + >; /** - * @see https://developer.github.com/v3/issues/timeline/#list-timeline-events-for-an-issue + * @see https://docs.github.com/rest/reference/migrations#get-an-import-status */ - "GET /repos/:owner/:repo/issues/:issue_number/timeline": { - parameters: IssuesListEventsForTimelineEndpoint; - request: IssuesListEventsForTimelineRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/import": Operation< + "/repos/{owner}/{repo}/import", + "get" + >; /** - * @see https://developer.github.com/v3/issues/comments/#list-issue-comments-for-a-repository + * @see https://docs.github.com/rest/reference/migrations#get-commit-authors */ - "GET /repos/:owner/:repo/issues/comments": { - parameters: IssuesListCommentsForRepoEndpoint; - request: IssuesListCommentsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/import/authors": Operation< + "/repos/{owner}/{repo}/import/authors", + "get" + >; /** - * @see https://developer.github.com/v3/issues/comments/#get-an-issue-comment + * @see https://docs.github.com/rest/reference/migrations#get-large-files */ - "GET /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesGetCommentEndpoint; - request: IssuesGetCommentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/import/large_files": Operation< + "/repos/{owner}/{repo}/import/large_files", + "get" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-an-issue-comment + * @see https://docs.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app */ - "GET /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: ReactionsListForIssueCommentEndpoint; - request: ReactionsListForIssueCommentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/installation": Operation< + "/repos/{owner}/{repo}/installation", + "get" + >; /** - * @see https://developer.github.com/v3/issues/events/#list-issue-events-for-a-repository + * @see https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-a-repository */ - "GET /repos/:owner/:repo/issues/events": { - parameters: IssuesListEventsForRepoEndpoint; - request: IssuesListEventsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/interaction-limits": Operation< + "/repos/{owner}/{repo}/interaction-limits", + "get" + >; /** - * @see https://developer.github.com/v3/issues/events/#get-an-issue-event + * @see https://docs.github.com/rest/reference/repos#list-repository-invitations */ - "GET /repos/:owner/:repo/issues/events/:event_id": { - parameters: IssuesGetEventEndpoint; - request: IssuesGetEventRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/invitations": Operation< + "/repos/{owner}/{repo}/invitations", + "get" + >; /** - * @see https://developer.github.com/v3/repos/keys/#list-deploy-keys + * @see https://docs.github.com/v3/issues/#list-repository-issues */ - "GET /repos/:owner/:repo/keys": { - parameters: ReposListDeployKeysEndpoint; - request: ReposListDeployKeysRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues": Operation< + "/repos/{owner}/{repo}/issues", + "get" + >; /** - * @see https://developer.github.com/v3/repos/keys/#get-a-deploy-key + * @see https://docs.github.com/rest/reference/issues#list-issue-comments-for-a-repository */ - "GET /repos/:owner/:repo/keys/:key_id": { - parameters: ReposGetDeployKeyEndpoint; - request: ReposGetDeployKeyRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/comments": Operation< + "/repos/{owner}/{repo}/issues/comments", + "get" + >; /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-a-repository + * @see https://docs.github.com/rest/reference/issues#get-an-issue-comment */ - "GET /repos/:owner/:repo/labels": { - parameters: IssuesListLabelsForRepoEndpoint; - request: IssuesListLabelsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/issues/comments/{comment_id}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/labels/#get-a-label + * @see https://docs.github.com/v3/reactions/#list-reactions-for-an-issue-comment */ - "GET /repos/:owner/:repo/labels/:name": { - parameters: IssuesGetLabelEndpoint; - request: IssuesGetLabelRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": Operation< + "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/#list-repository-languages + * @see https://docs.github.com/rest/reference/issues#list-issue-events-for-a-repository */ - "GET /repos/:owner/:repo/languages": { - parameters: ReposListLanguagesEndpoint; - request: ReposListLanguagesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/events": Operation< + "/repos/{owner}/{repo}/issues/events", + "get" + >; /** - * @see https://developer.github.com/v3/licenses/#get-the-license-for-a-repository + * @see https://docs.github.com/rest/reference/issues#get-an-issue-event */ - "GET /repos/:owner/:repo/license": { - parameters: LicensesGetForRepoEndpoint; - request: LicensesGetForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/events/{event_id}": Operation< + "/repos/{owner}/{repo}/issues/events/{event_id}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/milestones/#list-milestones + * @see https://docs.github.com/v3/issues/#get-an-issue */ - "GET /repos/:owner/:repo/milestones": { - parameters: IssuesListMilestonesEndpoint; - request: IssuesListMilestonesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/{issue_number}": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}", + "get" + >; /** - * @see https://developer.github.com/v3/issues/milestones/#get-a-milestone + * @see https://docs.github.com/rest/reference/issues#list-issue-comments */ - "GET /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesGetMilestoneEndpoint; - request: IssuesGetMilestoneRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/{issue_number}/comments": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/issues/labels/#list-labels-for-issues-in-a-milestone + * @see https://docs.github.com/rest/reference/issues#list-issue-events */ - "GET /repos/:owner/:repo/milestones/:milestone_number/labels": { - parameters: IssuesListLabelsForMilestoneEndpoint; - request: IssuesListLabelsForMilestoneRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/{issue_number}/events": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/events", + "get" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#list-repository-notifications-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/issues#list-labels-for-an-issue */ - "GET /repos/:owner/:repo/notifications": { - parameters: ActivityListRepoNotificationsForAuthenticatedUserEndpoint; - request: ActivityListRepoNotificationsForAuthenticatedUserRequestOptions; - response: OctokitResponse< - ActivityListRepoNotificationsForAuthenticatedUserResponseData - >; - }; + "GET /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "get" + >; /** - * @see https://developer.github.com/v3/repos/pages/#get-a-github-pages-site + * @see https://docs.github.com/v3/reactions/#list-reactions-for-an-issue */ - "GET /repos/:owner/:repo/pages": { - parameters: ReposGetPagesEndpoint; - request: ReposGetPagesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/pages/#list-github-pages-builds + * @see https://docs.github.com/rest/reference/issues#list-timeline-events-for-an-issue */ - "GET /repos/:owner/:repo/pages/builds": { - parameters: ReposListPagesBuildsEndpoint; - request: ReposListPagesBuildsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/timeline", + "get", + "mockingbird" + >; /** - * @see https://developer.github.com/v3/repos/pages/#get-github-pages-build + * @see https://docs.github.com/rest/reference/repos#list-deploy-keys */ - "GET /repos/:owner/:repo/pages/builds/:build_id": { - parameters: ReposGetPagesBuildEndpoint; - request: ReposGetPagesBuildRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/keys": Operation< + "/repos/{owner}/{repo}/keys", + "get" + >; /** - * @see https://developer.github.com/v3/repos/pages/#get-latest-pages-build + * @see https://docs.github.com/rest/reference/repos#get-a-deploy-key */ - "GET /repos/:owner/:repo/pages/builds/latest": { - parameters: ReposGetLatestPagesBuildEndpoint; - request: ReposGetLatestPagesBuildRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/keys/{key_id}": Operation< + "/repos/{owner}/{repo}/keys/{key_id}", + "get" + >; /** - * @see https://developer.github.com/v3/projects/#list-repository-projects + * @see https://docs.github.com/rest/reference/issues#list-labels-for-a-repository */ - "GET /repos/:owner/:repo/projects": { - parameters: ProjectsListForRepoEndpoint; - request: ProjectsListForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/labels": Operation< + "/repos/{owner}/{repo}/labels", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests + * @see https://docs.github.com/rest/reference/issues#get-a-label */ - "GET /repos/:owner/:repo/pulls": { - parameters: PullsListEndpoint; - request: PullsListRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/labels/{name}": Operation< + "/repos/{owner}/{repo}/labels/{name}", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/#get-a-pull-request + * @see https://docs.github.com/v3/repos/#list-repository-languages */ - "GET /repos/:owner/:repo/pulls/:pull_number": { - parameters: PullsGetEndpoint; - request: PullsGetRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/languages": Operation< + "/repos/{owner}/{repo}/languages", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-on-a-pull-request + * @see https://docs.github.com/v3/licenses/#get-the-license-for-a-repository */ - "GET /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: PullsListReviewCommentsEndpoint; - request: PullsListReviewCommentsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/license": Operation< + "/repos/{owner}/{repo}/license", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/#list-commits-on-a-pull-request + * @see https://docs.github.com/rest/reference/issues#list-milestones */ - "GET /repos/:owner/:repo/pulls/:pull_number/commits": { - parameters: PullsListCommitsEndpoint; - request: PullsListCommitsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/milestones": Operation< + "/repos/{owner}/{repo}/milestones", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/#list-pull-requests-files + * @see https://docs.github.com/rest/reference/issues#get-a-milestone */ - "GET /repos/:owner/:repo/pulls/:pull_number/files": { - parameters: PullsListFilesEndpoint; - request: PullsListFilesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/milestones/{milestone_number}": Operation< + "/repos/{owner}/{repo}/milestones/{milestone_number}", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged + * @see https://docs.github.com/rest/reference/issues#list-labels-for-issues-in-a-milestone */ - "GET /repos/:owner/:repo/pulls/:pull_number/merge": { - parameters: PullsCheckIfMergedEndpoint; - request: PullsCheckIfMergedRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels": Operation< + "/repos/{owner}/{repo}/milestones/{milestone_number}/labels", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/review_requests/#list-requested-reviewers-for-a-pull-request + * @see https://docs.github.com/rest/reference/activity#list-repository-notifications-for-the-authenticated-user */ - "GET /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsListRequestedReviewersEndpoint; - request: PullsListRequestedReviewersRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/notifications": Operation< + "/repos/{owner}/{repo}/notifications", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#list-reviews-for-a-pull-request + * @see https://docs.github.com/rest/reference/repos#get-a-github-pages-site */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: PullsListReviewsEndpoint; - request: PullsListReviewsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pages": Operation< + "/repos/{owner}/{repo}/pages", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#get-a-review-for-a-pull-request + * @see https://docs.github.com/rest/reference/repos#list-github-pages-builds */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsGetReviewEndpoint; - request: PullsGetReviewRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pages/builds": Operation< + "/repos/{owner}/{repo}/pages/builds", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#list-comments-for-a-pull-request-review + * @see https://docs.github.com/rest/reference/repos#get-latest-pages-build */ - "GET /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments": { - parameters: PullsListCommentsForReviewEndpoint; - request: PullsListCommentsForReviewRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pages/builds/latest": Operation< + "/repos/{owner}/{repo}/pages/builds/latest", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#list-review-comments-in-a-repository + * @see https://docs.github.com/rest/reference/repos#get-github-pages-build */ - "GET /repos/:owner/:repo/pulls/comments": { - parameters: PullsListReviewCommentsForRepoEndpoint; - request: PullsListReviewCommentsForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pages/builds/{build_id}": Operation< + "/repos/{owner}/{repo}/pages/builds/{build_id}", + "get" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#get-a-review-comment-for-a-pull-request + * @see https://docs.github.com/v3/projects/#list-repository-projects */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsGetReviewCommentEndpoint; - request: PullsGetReviewCommentRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/projects": Operation< + "/repos/{owner}/{repo}/projects", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment + * @see https://docs.github.com/v3/pulls/#list-pull-requests */ - "GET /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: ReactionsListForPullRequestReviewCommentEndpoint; - request: ReactionsListForPullRequestReviewCommentRequestOptions; - response: OctokitResponse< - ReactionsListForPullRequestReviewCommentResponseData - >; - }; + "GET /repos/{owner}/{repo}/pulls": Operation< + "/repos/{owner}/{repo}/pulls", + "get" + >; /** - * @see https://developer.github.com/v3/repos/contents/#get-a-repository-readme + * @see https://docs.github.com/rest/reference/pulls#list-review-comments-in-a-repository */ - "GET /repos/:owner/:repo/readme": { - parameters: ReposGetReadmeEndpoint; - request: ReposGetReadmeRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/comments": Operation< + "/repos/{owner}/{repo}/pulls/comments", + "get" + >; /** - * @see https://developer.github.com/v3/repos/releases/#list-releases + * @see https://docs.github.com/rest/reference/pulls#get-a-review-comment-for-a-pull-request */ - "GET /repos/:owner/:repo/releases": { - parameters: ReposListReleasesEndpoint; - request: ReposListReleasesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/pulls/comments/{comment_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release + * @see https://docs.github.com/v3/reactions/#list-reactions-for-a-pull-request-review-comment */ - "GET /repos/:owner/:repo/releases/:release_id": { - parameters: ReposGetReleaseEndpoint; - request: ReposGetReleaseRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": Operation< + "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/releases/#list-release-assets + * @see https://docs.github.com/v3/pulls/#get-a-pull-request */ - "GET /repos/:owner/:repo/releases/:release_id/assets": { - parameters: ReposListReleaseAssetsEndpoint; - request: ReposListReleaseAssetsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release-asset + * @see https://docs.github.com/rest/reference/pulls#list-review-comments-on-a-pull-request */ - "GET /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposGetReleaseAssetEndpoint; - request: ReposGetReleaseAssetRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/repos/releases/#get-the-latest-release + * @see https://docs.github.com/v3/pulls/#list-commits-on-a-pull-request */ - "GET /repos/:owner/:repo/releases/latest": { - parameters: ReposGetLatestReleaseEndpoint; - request: ReposGetLatestReleaseRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/commits", + "get" + >; /** - * @see https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name + * @see https://docs.github.com/v3/pulls/#list-pull-requests-files */ - "GET /repos/:owner/:repo/releases/tags/:tag": { - parameters: ReposGetReleaseByTagEndpoint; - request: ReposGetReleaseByTagRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/files": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/files", + "get" + >; /** - * @see https://developer.github.com/v3/activity/starring/#list-stargazers + * @see https://docs.github.com/v3/pulls/#check-if-a-pull-request-has-been-merged */ - "GET /repos/:owner/:repo/stargazers": { - parameters: ActivityListStargazersForRepoEndpoint; - request: ActivityListStargazersForRepoRequestOptions; - response: OctokitResponse< - | ActivityListStargazersForRepoResponseData - | ActivityListStargazersForRepoResponse200Data - >; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/merge", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-activity + * @see https://docs.github.com/rest/reference/pulls#list-requested-reviewers-for-a-pull-request */ - "GET /repos/:owner/:repo/stats/code_frequency": { - parameters: ReposGetCodeFrequencyStatsEndpoint; - request: ReposGetCodeFrequencyStatsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity + * @see https://docs.github.com/rest/reference/pulls#list-reviews-for-a-pull-request */ - "GET /repos/:owner/:repo/stats/commit_activity": { - parameters: ReposGetCommitActivityStatsEndpoint; - request: ReposGetCommitActivityStatsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statistics/#get-all-contributor-commit-activity + * @see https://docs.github.com/rest/reference/pulls#get-a-review-for-a-pull-request */ - "GET /repos/:owner/:repo/stats/contributors": { - parameters: ReposGetContributorsStatsEndpoint; - request: ReposGetContributorsStatsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-weekly-commit-count + * @see https://docs.github.com/rest/reference/pulls#list-comments-for-a-pull-request-review */ - "GET /repos/:owner/:repo/stats/participation": { - parameters: ReposGetParticipationStatsEndpoint; - request: ReposGetParticipationStatsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/repos/statistics/#get-the-hourly-commit-count-for-each-day + * @see https://docs.github.com/rest/reference/repos#get-a-repository-readme */ - "GET /repos/:owner/:repo/stats/punch_card": { - parameters: ReposGetPunchCardStatsEndpoint; - request: ReposGetPunchCardStatsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/readme": Operation< + "/repos/{owner}/{repo}/readme", + "get" + >; /** - * @see https://developer.github.com/v3/activity/watching/#list-watchers + * @see https://docs.github.com/rest/reference/repos#list-releases */ - "GET /repos/:owner/:repo/subscribers": { - parameters: ActivityListWatchersForRepoEndpoint; - request: ActivityListWatchersForRepoRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/releases": Operation< + "/repos/{owner}/{repo}/releases", + "get" + >; /** - * @see https://developer.github.com/v3/activity/watching/#get-a-repository-subscription + * @see https://docs.github.com/rest/reference/repos#get-a-release-asset */ - "GET /repos/:owner/:repo/subscription": { - parameters: ActivityGetRepoSubscriptionEndpoint; - request: ActivityGetRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/releases/assets/{asset_id}": Operation< + "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/#list-repository-tags + * @see https://docs.github.com/rest/reference/repos#get-the-latest-release */ - "GET /repos/:owner/:repo/tags": { - parameters: ReposListTagsEndpoint; - request: ReposListTagsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/releases/latest": Operation< + "/repos/{owner}/{repo}/releases/latest", + "get" + >; /** - * @see https://developer.github.com/v3/repos/#list-repository-teams + * @see https://docs.github.com/rest/reference/repos#get-a-release-by-tag-name */ - "GET /repos/:owner/:repo/teams": { - parameters: ReposListTeamsEndpoint; - request: ReposListTeamsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/releases/tags/{tag}": Operation< + "/repos/{owner}/{repo}/releases/tags/{tag}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/#get-all-repository-topics + * @see https://docs.github.com/rest/reference/repos#get-a-release */ - "GET /repos/:owner/:repo/topics": { - parameters: ReposGetAllTopicsEndpoint; - request: ReposGetAllTopicsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/releases/{release_id}": Operation< + "/repos/{owner}/{repo}/releases/{release_id}", + "get" + >; /** - * @see https://developer.github.com/v3/repos/traffic/#get-repository-clones + * @see https://docs.github.com/rest/reference/repos#list-release-assets */ - "GET /repos/:owner/:repo/traffic/clones": { - parameters: ReposGetClonesEndpoint; - request: ReposGetClonesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/releases/{release_id}/assets": Operation< + "/repos/{owner}/{repo}/releases/{release_id}/assets", + "get" + >; /** - * @see https://developer.github.com/v3/repos/traffic/#get-top-referral-paths + * @see https://docs.github.com/rest/reference/activity#list-stargazers */ - "GET /repos/:owner/:repo/traffic/popular/paths": { - parameters: ReposGetTopPathsEndpoint; - request: ReposGetTopPathsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/stargazers": Operation< + "/repos/{owner}/{repo}/stargazers", + "get" + >; /** - * @see https://developer.github.com/v3/repos/traffic/#get-top-referral-sources + * @see https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity */ - "GET /repos/:owner/:repo/traffic/popular/referrers": { - parameters: ReposGetTopReferrersEndpoint; - request: ReposGetTopReferrersRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/stats/code_frequency": Operation< + "/repos/{owner}/{repo}/stats/code_frequency", + "get" + >; /** - * @see https://developer.github.com/v3/repos/traffic/#get-page-views + * @see https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity */ - "GET /repos/:owner/:repo/traffic/views": { - parameters: ReposGetViewsEndpoint; - request: ReposGetViewsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/stats/commit_activity": Operation< + "/repos/{owner}/{repo}/stats/commit_activity", + "get" + >; /** - * @see https://developer.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository + * @see https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity */ - "GET /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposCheckVulnerabilityAlertsEndpoint; - request: ReposCheckVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/stats/contributors": Operation< + "/repos/{owner}/{repo}/stats/contributors", + "get" + >; /** - * @see https://developer.github.com/v3/repos/#list-public-repositories + * @see https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count */ - "GET /repositories": { - parameters: ReposListPublicEndpoint; - request: ReposListPublicRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/stats/participation": Operation< + "/repos/{owner}/{repo}/stats/participation", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#list-provisioned-scim groups-for-an-enterprise + * @see https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day */ - "GET /scim/v2/enterprises/:enterprise/Groups": { - parameters: EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint; - request: EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListProvisionedGroupsEnterpriseResponseData - >; - }; + "GET /repos/{owner}/{repo}/stats/punch_card": Operation< + "/repos/{owner}/{repo}/stats/punch_card", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise group + * @see https://docs.github.com/rest/reference/activity#list-watchers */ - "GET /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": { - parameters: EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint; - request: EnterpriseAdminGetProvisioningInformationForEnterpriseGroupRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponseData - >; - }; + "GET /repos/{owner}/{repo}/subscribers": Operation< + "/repos/{owner}/{repo}/subscribers", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#list-scim-provisioned-identities-for-an-enterprise + * @see https://docs.github.com/rest/reference/activity#get-a-repository-subscription */ - "GET /scim/v2/enterprises/:enterprise/Users": { - parameters: EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint; - request: EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData - >; - }; + "GET /repos/{owner}/{repo}/subscription": Operation< + "/repos/{owner}/{repo}/subscription", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#get-scim-provisioning-information-for-an-enterprise-user + * @see https://docs.github.com/v3/repos/#list-repository-tags */ - "GET /scim/v2/enterprises/:enterprise/Users/:scim_user_id": { - parameters: EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint; - request: EnterpriseAdminGetProvisioningInformationForEnterpriseUserRequestOptions; - response: OctokitResponse< - EnterpriseAdminGetProvisioningInformationForEnterpriseUserResponseData - >; - }; + "GET /repos/{owner}/{repo}/tags": Operation< + "/repos/{owner}/{repo}/tags", + "get" + >; /** - * @see https://developer.github.com/v3/scim/#list-scim-provisioned-identities + * @see https://docs.github.com/rest/reference/repos#download-a-repository-archive */ - "GET /scim/v2/organizations/:org/Users": { - parameters: ScimListProvisionedIdentitiesEndpoint; - request: ScimListProvisionedIdentitiesRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/tarball/{ref}": Operation< + "/repos/{owner}/{repo}/tarball/{ref}", + "get" + >; /** - * @see https://developer.github.com/v3/scim/#get-scim-provisioning-information-for-a-user + * @see https://docs.github.com/v3/repos/#list-repository-teams */ - "GET /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimGetProvisioningInformationForUserEndpoint; - request: ScimGetProvisioningInformationForUserRequestOptions; - response: OctokitResponse< - ScimGetProvisioningInformationForUserResponseData - >; - }; + "GET /repos/{owner}/{repo}/teams": Operation< + "/repos/{owner}/{repo}/teams", + "get" + >; /** - * @see https://developer.github.com/v3/search/#search-code + * @see https://docs.github.com/v3/repos/#get-all-repository-topics */ - "GET /search/code": { - parameters: SearchCodeEndpoint; - request: SearchCodeRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/topics": Operation< + "/repos/{owner}/{repo}/topics", + "get", + "mercy" + >; /** - * @see https://developer.github.com/v3/search/#search-commits + * @see https://docs.github.com/rest/reference/repos#get-repository-clones */ - "GET /search/commits": { - parameters: SearchCommitsEndpoint; - request: SearchCommitsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/traffic/clones": Operation< + "/repos/{owner}/{repo}/traffic/clones", + "get" + >; /** - * @see https://developer.github.com/v3/search/#search-issues-and-pull-requests + * @see https://docs.github.com/rest/reference/repos#get-top-referral-paths */ - "GET /search/issues": { - parameters: SearchIssuesAndPullRequestsEndpoint; - request: SearchIssuesAndPullRequestsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/traffic/popular/paths": Operation< + "/repos/{owner}/{repo}/traffic/popular/paths", + "get" + >; /** - * @see https://developer.github.com/v3/search/#search-labels + * @see https://docs.github.com/rest/reference/repos#get-top-referral-sources */ - "GET /search/labels": { - parameters: SearchLabelsEndpoint; - request: SearchLabelsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/traffic/popular/referrers": Operation< + "/repos/{owner}/{repo}/traffic/popular/referrers", + "get" + >; /** - * @see https://developer.github.com/v3/search/#search-repositories + * @see https://docs.github.com/rest/reference/repos#get-page-views */ - "GET /search/repositories": { - parameters: SearchReposEndpoint; - request: SearchReposRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/traffic/views": Operation< + "/repos/{owner}/{repo}/traffic/views", + "get" + >; /** - * @see https://developer.github.com/v3/search/#search-topics + * @see https://docs.github.com/v3/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository */ - "GET /search/topics": { - parameters: SearchTopicsEndpoint; - request: SearchTopicsRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/vulnerability-alerts": Operation< + "/repos/{owner}/{repo}/vulnerability-alerts", + "get", + "dorian" + >; /** - * @see https://developer.github.com/v3/search/#search-users + * @see https://docs.github.com/rest/reference/repos#download-a-repository-archive */ - "GET /search/users": { - parameters: SearchUsersEndpoint; - request: SearchUsersRequestOptions; - response: OctokitResponse; - }; + "GET /repos/{owner}/{repo}/zipball/{ref}": Operation< + "/repos/{owner}/{repo}/zipball/{ref}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#get-a-team-legacy + * @see https://docs.github.com/v3/repos/#list-public-repositories */ - "GET /teams/:team_id": { - parameters: TeamsGetLegacyEndpoint; - request: TeamsGetLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /repositories": Operation<"/repositories", "get">; /** - * @see https://developer.github.com/v3/teams/discussions/#list-discussions-legacy + * @see https://docs.github.com/rest/reference/enterprise-admin#list-provisioned-scim groups-for-an-enterprise */ - "GET /teams/:team_id/discussions": { - parameters: TeamsListDiscussionsLegacyEndpoint; - request: TeamsListDiscussionsLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /scim/v2/enterprises/{enterprise}/Groups": Operation< + "/scim/v2/enterprises/{enterprise}/Groups", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#get-a-discussion-legacy + * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise group */ - "GET /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsGetDiscussionLegacyEndpoint; - request: TeamsGetDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#list-discussion-comments-legacy + * @see https://docs.github.com/rest/reference/enterprise-admin#list-scim-provisioned-identities-for-an-enterprise */ - "GET /teams/:team_id/discussions/:discussion_number/comments": { - parameters: TeamsListDiscussionCommentsLegacyEndpoint; - request: TeamsListDiscussionCommentsLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /scim/v2/enterprises/{enterprise}/Users": Operation< + "/scim/v2/enterprises/{enterprise}/Users", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#get-a-discussion-comment-legacy + * @see https://docs.github.com/rest/reference/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsGetDiscussionCommentLegacyEndpoint; - request: TeamsGetDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "get" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy + * @see https://docs.github.com/v3/scim/#list-scim-provisioned-identities */ - "GET /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsListForTeamDiscussionCommentLegacyEndpoint; - request: ReactionsListForTeamDiscussionCommentLegacyRequestOptions; - response: OctokitResponse< - ReactionsListForTeamDiscussionCommentLegacyResponseData - >; - }; + "GET /scim/v2/organizations/{org}/Users": Operation< + "/scim/v2/organizations/{org}/Users", + "get" + >; /** - * @see https://developer.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy + * @see https://docs.github.com/v3/scim/#get-scim-provisioning-information-for-a-user */ - "GET /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: ReactionsListForTeamDiscussionLegacyEndpoint; - request: ReactionsListForTeamDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation< + "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "get" + >; /** - * @see https://developer.github.com/v3/teams/members/#list-pending-team-invitations-legacy + * @see https://docs.github.com/v3/search/#search-code */ - "GET /teams/:team_id/invitations": { - parameters: TeamsListPendingInvitationsLegacyEndpoint; - request: TeamsListPendingInvitationsLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /search/code": Operation<"/search/code", "get">; /** - * @see https://developer.github.com/v3/teams/members/#list-team-members-legacy + * @see https://docs.github.com/v3/search/#search-commits */ - "GET /teams/:team_id/members": { - parameters: TeamsListMembersLegacyEndpoint; - request: TeamsListMembersLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /search/commits": Operation<"/search/commits", "get", "cloak">; /** - * @see https://developer.github.com/v3/teams/members/#get-team-member-legacy + * @see https://docs.github.com/v3/search/#search-issues-and-pull-requests */ - "GET /teams/:team_id/members/:username": { - parameters: TeamsGetMemberLegacyEndpoint; - request: TeamsGetMemberLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /search/issues": Operation<"/search/issues", "get">; /** - * @see https://developer.github.com/v3/teams/members/#get-team-membership-for-a-user-legacy + * @see https://docs.github.com/v3/search/#search-labels */ - "GET /teams/:team_id/memberships/:username": { - parameters: TeamsGetMembershipForUserLegacyEndpoint; - request: TeamsGetMembershipForUserLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /search/labels": Operation<"/search/labels", "get">; /** - * @see https://developer.github.com/v3/teams/#list-team-projects-legacy + * @see https://docs.github.com/v3/search/#search-repositories */ - "GET /teams/:team_id/projects": { - parameters: TeamsListProjectsLegacyEndpoint; - request: TeamsListProjectsLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /search/repositories": Operation<"/search/repositories", "get">; /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-project-legacy + * @see https://docs.github.com/v3/search/#search-topics */ - "GET /teams/:team_id/projects/:project_id": { - parameters: TeamsCheckPermissionsForProjectLegacyEndpoint; - request: TeamsCheckPermissionsForProjectLegacyRequestOptions; - response: OctokitResponse< - TeamsCheckPermissionsForProjectLegacyResponseData - >; - }; + "GET /search/topics": Operation<"/search/topics", "get", "mercy">; /** - * @see https://developer.github.com/v3/teams/#list-team-repositories-legacy + * @see https://docs.github.com/v3/search/#search-users */ - "GET /teams/:team_id/repos": { - parameters: TeamsListReposLegacyEndpoint; - request: TeamsListReposLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /search/users": Operation<"/search/users", "get">; /** - * @see https://developer.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy + * @see https://docs.github.com/v3/teams/#get-a-team-legacy */ - "GET /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsCheckPermissionsForRepoLegacyEndpoint; - request: TeamsCheckPermissionsForRepoLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}": Operation<"/teams/{team_id}", "get">; /** - * @see https://developer.github.com/v3/teams/team_sync/#list-idp-groups-for-a-team-legacy + * @see https://docs.github.com/rest/reference/teams#list-discussions-legacy */ - "GET /teams/:team_id/team-sync/group-mappings": { - parameters: TeamsListIdPGroupsForLegacyEndpoint; - request: TeamsListIdPGroupsForLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/discussions": Operation< + "/teams/{team_id}/discussions", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#list-child-teams-legacy + * @see https://docs.github.com/rest/reference/teams#get-a-discussion-legacy */ - "GET /teams/:team_id/teams": { - parameters: TeamsListChildLegacyEndpoint; - request: TeamsListChildLegacyRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/discussions/{discussion_number}": Operation< + "/teams/{team_id}/discussions/{discussion_number}", + "get" + >; /** - * @see https://developer.github.com/v3/users/#get-the-authenticated-user + * @see https://docs.github.com/rest/reference/teams#list-discussion-comments-legacy */ - "GET /user": { - parameters: UsersGetAuthenticatedEndpoint; - request: UsersGetAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/discussions/{discussion_number}/comments": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments", + "get" + >; /** - * @see https://developer.github.com/v3/users/blocking/#list-users-blocked-by-the-authenticated-user + * @see https://docs.github.com/rest/reference/teams#get-a-discussion-comment-legacy */ - "GET /user/blocks": { - parameters: UsersListBlockedByAuthenticatedEndpoint; - request: UsersListBlockedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", + "get" + >; /** - * @see https://developer.github.com/v3/users/blocking/#check-if-a-user-is-blocked-by-the-authenticated-user + * @see https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-comment-legacy */ - "GET /user/blocks/:username": { - parameters: UsersCheckBlockedEndpoint; - request: UsersCheckBlockedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/users/emails/#list-email-addresses-for-the-authenticated-user + * @see https://docs.github.com/v3/reactions/#list-reactions-for-a-team-discussion-legacy */ - "GET /user/emails": { - parameters: UsersListEmailsForAuthenticatedEndpoint; - request: UsersListEmailsForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/discussions/{discussion_number}/reactions": Operation< + "/teams/{team_id}/discussions/{discussion_number}/reactions", + "get", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-the-authenticated-user + * @see https://docs.github.com/rest/reference/teams#list-pending-team-invitations-legacy */ - "GET /user/followers": { - parameters: UsersListFollowersForAuthenticatedUserEndpoint; - request: UsersListFollowersForAuthenticatedUserRequestOptions; - response: OctokitResponse< - UsersListFollowersForAuthenticatedUserResponseData - >; - }; + "GET /teams/{team_id}/invitations": Operation< + "/teams/{team_id}/invitations", + "get" + >; /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-the-authenticated-user-follows + * @see https://docs.github.com/rest/reference/teams#list-team-members-legacy */ - "GET /user/following": { - parameters: UsersListFollowedByAuthenticatedEndpoint; - request: UsersListFollowedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/members": Operation<"/teams/{team_id}/members", "get">; /** - * @see https://developer.github.com/v3/users/followers/#check-if-a-person-is-followed-by-the-authenticated-user + * @see https://docs.github.com/rest/reference/teams#get-team-member-legacy */ - "GET /user/following/:username": { - parameters: UsersCheckPersonIsFollowedByAuthenticatedEndpoint; - request: UsersCheckPersonIsFollowedByAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/members/{username}": Operation< + "/teams/{team_id}/members/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user-legacy */ - "GET /user/gpg_keys": { - parameters: UsersListGpgKeysForAuthenticatedEndpoint; - request: UsersListGpgKeysForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/memberships/{username}": Operation< + "/teams/{team_id}/memberships/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/users/gpg_keys/#get-a-gpg-key-for-the-authenticated-user + * @see https://docs.github.com/v3/teams/#list-team-projects-legacy */ - "GET /user/gpg_keys/:gpg_key_id": { - parameters: UsersGetGpgKeyForAuthenticatedEndpoint; - request: UsersGetGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/projects": Operation< + "/teams/{team_id}/projects", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token + * @see https://docs.github.com/v3/teams/#check-team-permissions-for-a-project-legacy */ - "GET /user/installations": { - parameters: AppsListInstallationsForAuthenticatedUserEndpoint; - request: AppsListInstallationsForAuthenticatedUserRequestOptions; - response: OctokitResponse< - AppsListInstallationsForAuthenticatedUserResponseData - >; - }; + "GET /teams/{team_id}/projects/{project_id}": Operation< + "/teams/{team_id}/projects/{project_id}", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token + * @see https://docs.github.com/v3/teams/#list-team-repositories-legacy */ - "GET /user/installations/:installation_id/repositories": { - parameters: AppsListInstallationReposForAuthenticatedUserEndpoint; - request: AppsListInstallationReposForAuthenticatedUserRequestOptions; - response: OctokitResponse< - AppsListInstallationReposForAuthenticatedUserResponseData - >; - }; + "GET /teams/{team_id}/repos": Operation<"/teams/{team_id}/repos", "get">; /** - * @see https://developer.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user + * @see https://docs.github.com/v3/teams/#check-team-permissions-for-a-repository-legacy */ - "GET /user/issues": { - parameters: IssuesListForAuthenticatedUserEndpoint; - request: IssuesListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/repos/{owner}/{repo}": Operation< + "/teams/{team_id}/repos/{owner}/{repo}", + "get" + >; /** - * @see https://developer.github.com/v3/users/keys/#list-public-ssh-keys-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/teams#list-idp-groups-for-a-team-legacy */ - "GET /user/keys": { - parameters: UsersListPublicSshKeysForAuthenticatedEndpoint; - request: UsersListPublicSshKeysForAuthenticatedRequestOptions; - response: OctokitResponse< - UsersListPublicSshKeysForAuthenticatedResponseData - >; - }; + "GET /teams/{team_id}/team-sync/group-mappings": Operation< + "/teams/{team_id}/team-sync/group-mappings", + "get" + >; /** - * @see https://developer.github.com/v3/users/keys/#get-a-public-ssh-key-for-the-authenticated-user + * @see https://docs.github.com/v3/teams/#list-child-teams-legacy */ - "GET /user/keys/:key_id": { - parameters: UsersGetPublicSshKeyForAuthenticatedEndpoint; - request: UsersGetPublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "GET /teams/{team_id}/teams": Operation<"/teams/{team_id}/teams", "get">; /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user + * @see https://docs.github.com/v3/users/#get-the-authenticated-user */ - "GET /user/marketplace_purchases": { - parameters: AppsListSubscriptionsForAuthenticatedUserEndpoint; - request: AppsListSubscriptionsForAuthenticatedUserRequestOptions; - response: OctokitResponse< - AppsListSubscriptionsForAuthenticatedUserResponseData - >; - }; + "GET /user": Operation<"/user", "get">; /** - * @see https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed + * @see https://docs.github.com/rest/reference/users#list-users-blocked-by-the-authenticated-user */ - "GET /user/marketplace_purchases/stubbed": { - parameters: AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint; - request: AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions; - response: OctokitResponse< - AppsListSubscriptionsForAuthenticatedUserStubbedResponseData - >; - }; + "GET /user/blocks": Operation<"/user/blocks", "get">; /** - * @see https://developer.github.com/v3/orgs/members/#list-organization-memberships-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#check-if-a-user-is-blocked-by-the-authenticated-user */ - "GET /user/memberships/orgs": { - parameters: OrgsListMembershipsForAuthenticatedUserEndpoint; - request: OrgsListMembershipsForAuthenticatedUserRequestOptions; - response: OctokitResponse< - OrgsListMembershipsForAuthenticatedUserResponseData - >; - }; + "GET /user/blocks/{username}": Operation<"/user/blocks/{username}", "get">; /** - * @see https://developer.github.com/v3/orgs/members/#get-an-organization-membership-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#list-email-addresses-for-the-authenticated-user */ - "GET /user/memberships/orgs/:org": { - parameters: OrgsGetMembershipForAuthenticatedUserEndpoint; - request: OrgsGetMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse< - OrgsGetMembershipForAuthenticatedUserResponseData - >; - }; + "GET /user/emails": Operation<"/user/emails", "get">; /** - * @see https://developer.github.com/v3/migrations/users/#list-user-migrations + * @see https://docs.github.com/rest/reference/users#list-followers-of-the-authenticated-user */ - "GET /user/migrations": { - parameters: MigrationsListForAuthenticatedUserEndpoint; - request: MigrationsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/followers": Operation<"/user/followers", "get">; /** - * @see https://developer.github.com/v3/migrations/users/#get-a-user-migration-status + * @see https://docs.github.com/rest/reference/users#list-the-people-the-authenticated-user-follows */ - "GET /user/migrations/:migration_id": { - parameters: MigrationsGetStatusForAuthenticatedUserEndpoint; - request: MigrationsGetStatusForAuthenticatedUserRequestOptions; - response: OctokitResponse< - MigrationsGetStatusForAuthenticatedUserResponseData - >; - }; + "GET /user/following": Operation<"/user/following", "get">; /** - * @see https://developer.github.com/v3/migrations/users/#download-a-user-migration-archive + * @see https://docs.github.com/rest/reference/users#check-if-a-person-is-followed-by-the-authenticated-user */ - "GET /user/migrations/:migration_id/archive": { - parameters: MigrationsGetArchiveForAuthenticatedUserEndpoint; - request: MigrationsGetArchiveForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/following/{username}": Operation< + "/user/following/{username}", + "get" + >; /** - * @see https://developer.github.com/v3/migrations/users/#list-repositories-for-a-user-migration + * @see https://docs.github.com/rest/reference/users#list-gpg-keys-for-the-authenticated-user */ - "GET /user/migrations/:migration_id/repositories": { - parameters: MigrationsListReposForUserEndpoint; - request: MigrationsListReposForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/gpg_keys": Operation<"/user/gpg_keys", "get">; /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#get-a-gpg-key-for-the-authenticated-user */ - "GET /user/orgs": { - parameters: OrgsListForAuthenticatedUserEndpoint; - request: OrgsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/gpg_keys/{gpg_key_id}": Operation< + "/user/gpg_keys/{gpg_key_id}", + "get" + >; /** - * @see https://developer.github.com/v3/users/emails/#list-public-email-addresses-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/apps#list-app-installations-accessible-to-the-user-access-token */ - "GET /user/public_emails": { - parameters: UsersListPublicEmailsForAuthenticatedEndpoint; - request: UsersListPublicEmailsForAuthenticatedRequestOptions; - response: OctokitResponse< - UsersListPublicEmailsForAuthenticatedResponseData - >; - }; + "GET /user/installations": Operation<"/user/installations", "get">; /** - * @see https://developer.github.com/v3/repos/#list-repositories-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/apps#list-repositories-accessible-to-the-user-access-token */ - "GET /user/repos": { - parameters: ReposListForAuthenticatedUserEndpoint; - request: ReposListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/installations/{installation_id}/repositories": Operation< + "/user/installations/{installation_id}/repositories", + "get" + >; /** - * @see https://developer.github.com/v3/repos/invitations/#list-repository-invitations-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/interactions#get-interaction-restrictions-for-your-public-repositories */ - "GET /user/repository_invitations": { - parameters: ReposListInvitationsForAuthenticatedUserEndpoint; - request: ReposListInvitationsForAuthenticatedUserRequestOptions; - response: OctokitResponse< - ReposListInvitationsForAuthenticatedUserResponseData - >; - }; + "GET /user/interaction-limits": Operation<"/user/interaction-limits", "get">; /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-the-authenticated-user + * @see https://docs.github.com/v3/issues/#list-user-account-issues-assigned-to-the-authenticated-user */ - "GET /user/starred": { - parameters: ActivityListReposStarredByAuthenticatedUserEndpoint; - request: ActivityListReposStarredByAuthenticatedUserRequestOptions; - response: OctokitResponse< - | ActivityListReposStarredByAuthenticatedUserResponseData - | ActivityListReposStarredByAuthenticatedUserResponse200Data - >; - }; + "GET /user/issues": Operation<"/user/issues", "get">; /** - * @see https://developer.github.com/v3/activity/starring/#check-if-a-repository-is-starred-by-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#list-public-ssh-keys-for-the-authenticated-user */ - "GET /user/starred/:owner/:repo": { - parameters: ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint; - request: ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/keys": Operation<"/user/keys", "get">; /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-the-authenticated-user + * @see https://docs.github.com/rest/reference/users#get-a-public-ssh-key-for-the-authenticated-user */ - "GET /user/subscriptions": { - parameters: ActivityListWatchedReposForAuthenticatedUserEndpoint; - request: ActivityListWatchedReposForAuthenticatedUserRequestOptions; - response: OctokitResponse< - ActivityListWatchedReposForAuthenticatedUserResponseData - >; - }; + "GET /user/keys/{key_id}": Operation<"/user/keys/{key_id}", "get">; /** - * @see https://developer.github.com/v3/teams/#list-teams-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user */ - "GET /user/teams": { - parameters: TeamsListForAuthenticatedUserEndpoint; - request: TeamsListForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/marketplace_purchases": Operation< + "/user/marketplace_purchases", + "get" + >; /** - * @see https://developer.github.com/v3/users/#list-users + * @see https://docs.github.com/rest/reference/apps#list-subscriptions-for-the-authenticated-user-stubbed */ - "GET /users": { - parameters: UsersListEndpoint; - request: UsersListRequestOptions; - response: OctokitResponse; - }; + "GET /user/marketplace_purchases/stubbed": Operation< + "/user/marketplace_purchases/stubbed", + "get" + >; /** - * @see https://developer.github.com/v3/users/#get-a-user + * @see https://docs.github.com/rest/reference/orgs#list-organization-memberships-for-the-authenticated-user */ - "GET /users/:username": { - parameters: UsersGetByUsernameEndpoint; - request: UsersGetByUsernameRequestOptions; - response: OctokitResponse; - }; + "GET /user/memberships/orgs": Operation<"/user/memberships/orgs", "get">; /** - * @see https://developer.github.com/v3/activity/events/#list-events-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/orgs#get-an-organization-membership-for-the-authenticated-user */ - "GET /users/:username/events": { - parameters: ActivityListEventsForAuthenticatedUserEndpoint; - request: ActivityListEventsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/memberships/orgs/{org}": Operation< + "/user/memberships/orgs/{org}", + "get" + >; /** - * @see https://developer.github.com/v3/activity/events/#list-organization-events-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/migrations#list-user-migrations */ - "GET /users/:username/events/orgs/:org": { - parameters: ActivityListOrgEventsForAuthenticatedUserEndpoint; - request: ActivityListOrgEventsForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/migrations": Operation<"/user/migrations", "get", "wyandotte">; /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-for-a-user + * @see https://docs.github.com/rest/reference/migrations#get-a-user-migration-status */ - "GET /users/:username/events/public": { - parameters: ActivityListPublicEventsForUserEndpoint; - request: ActivityListPublicEventsForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/migrations/{migration_id}": Operation< + "/user/migrations/{migration_id}", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/users/followers/#list-followers-of-a-user + * @see https://docs.github.com/rest/reference/migrations#download-a-user-migration-archive */ - "GET /users/:username/followers": { - parameters: UsersListFollowersForUserEndpoint; - request: UsersListFollowersForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/migrations/{migration_id}/archive": Operation< + "/user/migrations/{migration_id}/archive", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/users/followers/#list-the-people-a-user-follows + * @see https://docs.github.com/rest/reference/migrations#list-repositories-for-a-user-migration */ - "GET /users/:username/following": { - parameters: UsersListFollowingForUserEndpoint; - request: UsersListFollowingForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/migrations/{migration_id}/repositories": Operation< + "/user/migrations/{migration_id}/repositories", + "get", + "wyandotte" + >; /** - * @see https://developer.github.com/v3/users/followers/#check-if-a-user-follows-another-user + * @see https://docs.github.com/v3/orgs/#list-organizations-for-the-authenticated-user */ - "GET /users/:username/following/:target_user": { - parameters: UsersCheckFollowingForUserEndpoint; - request: UsersCheckFollowingForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/orgs": Operation<"/user/orgs", "get">; /** - * @see https://developer.github.com/v3/gists/#list-gists-for-a-user + * @see https://docs.github.com/rest/reference/users#list-public-email-addresses-for-the-authenticated-user */ - "GET /users/:username/gists": { - parameters: GistsListForUserEndpoint; - request: GistsListForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/public_emails": Operation<"/user/public_emails", "get">; /** - * @see https://developer.github.com/v3/users/gpg_keys/#list-gpg-keys-for-a-user + * @see https://docs.github.com/v3/repos/#list-repositories-for-the-authenticated-user */ - "GET /users/:username/gpg_keys": { - parameters: UsersListGpgKeysForUserEndpoint; - request: UsersListGpgKeysForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/repos": Operation<"/user/repos", "get">; /** - * @see https://developer.github.com/v3/users/#get-contextual-information-for-a-user + * @see https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user */ - "GET /users/:username/hovercard": { - parameters: UsersGetContextForUserEndpoint; - request: UsersGetContextForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/repository_invitations": Operation< + "/user/repository_invitations", + "get" + >; /** - * @see https://developer.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app + * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-the-authenticated-user */ - "GET /users/:username/installation": { - parameters: AppsGetUserInstallationEndpoint; - request: AppsGetUserInstallationRequestOptions; - response: OctokitResponse; - }; + "GET /user/starred": Operation<"/user/starred", "get">; /** - * @see https://developer.github.com/v3/users/keys/#list-public-keys-for-a-user + * @see https://docs.github.com/rest/reference/activity#check-if-a-repository-is-starred-by-the-authenticated-user */ - "GET /users/:username/keys": { - parameters: UsersListPublicKeysForUserEndpoint; - request: UsersListPublicKeysForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/starred/{owner}/{repo}": Operation< + "/user/starred/{owner}/{repo}", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/#list-organizations-for-a-user + * @see https://docs.github.com/rest/reference/activity#list-repositories-watched-by-the-authenticated-user */ - "GET /users/:username/orgs": { - parameters: OrgsListForUserEndpoint; - request: OrgsListForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/subscriptions": Operation<"/user/subscriptions", "get">; /** - * @see https://developer.github.com/v3/projects/#list-user-projects + * @see https://docs.github.com/v3/teams/#list-teams-for-the-authenticated-user */ - "GET /users/:username/projects": { - parameters: ProjectsListForUserEndpoint; - request: ProjectsListForUserRequestOptions; - response: OctokitResponse; - }; + "GET /user/teams": Operation<"/user/teams", "get">; /** - * @see https://developer.github.com/v3/activity/events/#list-events-received-by-the-authenticated-user + * @see https://docs.github.com/v3/users/#list-users */ - "GET /users/:username/received_events": { - parameters: ActivityListReceivedEventsForUserEndpoint; - request: ActivityListReceivedEventsForUserRequestOptions; - response: OctokitResponse; - }; + "GET /users": Operation<"/users", "get">; /** - * @see https://developer.github.com/v3/activity/events/#list-public-events-received-by-a-user + * @see https://docs.github.com/v3/users/#get-a-user */ - "GET /users/:username/received_events/public": { - parameters: ActivityListReceivedPublicEventsForUserEndpoint; - request: ActivityListReceivedPublicEventsForUserRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}": Operation<"/users/{username}", "get">; /** - * @see https://developer.github.com/v3/repos/#list-repositories-for-a-user + * @see https://docs.github.com/rest/reference/activity#list-events-for-the-authenticated-user */ - "GET /users/:username/repos": { - parameters: ReposListForUserEndpoint; - request: ReposListForUserRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/events": Operation<"/users/{username}/events", "get">; /** - * @see https://developer.github.com/v3/billing/#get-github-actions-billing-for-a-user + * @see https://docs.github.com/rest/reference/activity#list-organization-events-for-the-authenticated-user */ - "GET /users/:username/settings/billing/actions": { - parameters: BillingGetGithubActionsBillingUserEndpoint; - request: BillingGetGithubActionsBillingUserRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/events/orgs/{org}": Operation< + "/users/{username}/events/orgs/{org}", + "get" + >; /** - * @see https://developer.github.com/v3/billing/#get-github-packages-billing-for-a-user + * @see https://docs.github.com/rest/reference/activity#list-public-events-for-a-user */ - "GET /users/:username/settings/billing/packages": { - parameters: BillingGetGithubPackagesBillingUserEndpoint; - request: BillingGetGithubPackagesBillingUserRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/events/public": Operation< + "/users/{username}/events/public", + "get" + >; /** - * @see https://developer.github.com/v3/billing/#get-shared-storage-billing-for-a-user + * @see https://docs.github.com/rest/reference/users#list-followers-of-a-user */ - "GET /users/:username/settings/billing/shared-storage": { - parameters: BillingGetSharedStorageBillingUserEndpoint; - request: BillingGetSharedStorageBillingUserRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/followers": Operation< + "/users/{username}/followers", + "get" + >; /** - * @see https://developer.github.com/v3/activity/starring/#list-repositories-starred-by-a-user + * @see https://docs.github.com/rest/reference/users#list-the-people-a-user-follows */ - "GET /users/:username/starred": { - parameters: ActivityListReposStarredByUserEndpoint; - request: ActivityListReposStarredByUserRequestOptions; - response: OctokitResponse< - | ActivityListReposStarredByUserResponseData - | ActivityListReposStarredByUserResponse200Data - >; - }; + "GET /users/{username}/following": Operation< + "/users/{username}/following", + "get" + >; /** - * @see https://developer.github.com/v3/activity/watching/#list-repositories-watched-by-a-user + * @see https://docs.github.com/rest/reference/users#check-if-a-user-follows-another-user */ - "GET /users/:username/subscriptions": { - parameters: ActivityListReposWatchedByUserEndpoint; - request: ActivityListReposWatchedByUserRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/following/{target_user}": Operation< + "/users/{username}/following/{target_user}", + "get" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#reset-a-token + * @see https://docs.github.com/v3/gists/#list-gists-for-a-user */ - "PATCH /applications/:client_id/token": { - parameters: AppsResetTokenEndpoint; - request: AppsResetTokenRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/gists": Operation<"/users/{username}/gists", "get">; /** - * @see https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization + * @see https://docs.github.com/rest/reference/users#list-gpg-keys-for-a-user */ - "PATCH /authorizations/:authorization_id": { - parameters: OauthAuthorizationsUpdateAuthorizationEndpoint; - request: OauthAuthorizationsUpdateAuthorizationRequestOptions; - response: OctokitResponse< - OauthAuthorizationsUpdateAuthorizationResponseData - >; - }; + "GET /users/{username}/gpg_keys": Operation< + "/users/{username}/gpg_keys", + "get" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#update-a-self-hosted-runner-group-for-an-enterprise + * @see https://docs.github.com/v3/users/#get-contextual-information-for-a-user */ - "PATCH /enterprises/:enterprise/actions/runner-groups/:runner_group_id": { - parameters: EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseEndpoint; - request: EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseResponseData - >; - }; + "GET /users/{username}/hovercard": Operation< + "/users/{username}/hovercard", + "get" + >; /** - * @see https://developer.github.com/v3/gists/#update-a-gist + * @see https://docs.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app */ - "PATCH /gists/:gist_id": { - parameters: GistsUpdateEndpoint; - request: GistsUpdateRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/installation": Operation< + "/users/{username}/installation", + "get" + >; /** - * @see https://developer.github.com/v3/gists/comments/#update-a-gist-comment + * @see https://docs.github.com/rest/reference/users#list-public-keys-for-a-user */ - "PATCH /gists/:gist_id/comments/:comment_id": { - parameters: GistsUpdateCommentEndpoint; - request: GistsUpdateCommentRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/keys": Operation<"/users/{username}/keys", "get">; /** - * @see https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read + * @see https://docs.github.com/v3/orgs/#list-organizations-for-a-user */ - "PATCH /notifications/threads/:thread_id": { - parameters: ActivityMarkThreadAsReadEndpoint; - request: ActivityMarkThreadAsReadRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/orgs": Operation<"/users/{username}/orgs", "get">; /** - * @see https://developer.github.com/v3/orgs/#update-an-organization + * @see https://docs.github.com/v3/projects/#list-user-projects */ - "PATCH /orgs/:org": { - parameters: OrgsUpdateEndpoint; - request: OrgsUpdateRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/projects": Operation< + "/users/{username}/projects", + "get", + "inertia" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#update-a-self-hosted-runner-group-for-an-organization + * @see https://docs.github.com/rest/reference/activity#list-events-received-by-the-authenticated-user */ - "PATCH /orgs/:org/actions/runner-groups/:runner_group_id": { - parameters: ActionsUpdateSelfHostedRunnerGroupForOrgEndpoint; - request: ActionsUpdateSelfHostedRunnerGroupForOrgRequestOptions; - response: OctokitResponse< - ActionsUpdateSelfHostedRunnerGroupForOrgResponseData - >; - }; + "GET /users/{username}/received_events": Operation< + "/users/{username}/received_events", + "get" + >; /** - * @see https://developer.github.com/v3/orgs/hooks/#update-an-organization-webhook + * @see https://docs.github.com/rest/reference/activity#list-public-events-received-by-a-user */ - "PATCH /orgs/:org/hooks/:hook_id": { - parameters: OrgsUpdateWebhookEndpoint; - request: OrgsUpdateWebhookRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/received_events/public": Operation< + "/users/{username}/received_events/public", + "get" + >; /** - * @see https://developer.github.com/v3/teams/#update-a-team + * @see https://docs.github.com/v3/repos/#list-repositories-for-a-user */ - "PATCH /orgs/:org/teams/:team_slug": { - parameters: TeamsUpdateInOrgEndpoint; - request: TeamsUpdateInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/repos": Operation<"/users/{username}/repos", "get">; /** - * @see https://developer.github.com/v3/teams/discussions/#update-a-discussion + * @see https://docs.github.com/v3/billing/#get-github-actions-billing-for-a-user */ - "PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number": { - parameters: TeamsUpdateDiscussionInOrgEndpoint; - request: TeamsUpdateDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/settings/billing/actions": Operation< + "/users/{username}/settings/billing/actions", + "get" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment + * @see https://docs.github.com/v3/billing/#get-github-packages-billing-for-a-user */ - "PATCH /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsUpdateDiscussionCommentInOrgEndpoint; - request: TeamsUpdateDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/settings/billing/packages": Operation< + "/users/{username}/settings/billing/packages", + "get" + >; /** - * @see https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections + * @see https://docs.github.com/v3/billing/#get-shared-storage-billing-for-a-user */ - "PATCH /orgs/:org/teams/:team_slug/team-sync/group-mappings": { - parameters: TeamsCreateOrUpdateIdPGroupConnectionsInOrgEndpoint; - request: TeamsCreateOrUpdateIdPGroupConnectionsInOrgRequestOptions; - response: OctokitResponse< - TeamsCreateOrUpdateIdPGroupConnectionsInOrgResponseData - >; - }; + "GET /users/{username}/settings/billing/shared-storage": Operation< + "/users/{username}/settings/billing/shared-storage", + "get" + >; /** - * @see https://developer.github.com/v3/projects/#update-a-project + * @see https://docs.github.com/rest/reference/activity#list-repositories-starred-by-a-user */ - "PATCH /projects/:project_id": { - parameters: ProjectsUpdateEndpoint; - request: ProjectsUpdateRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/starred": Operation< + "/users/{username}/starred", + "get" + >; /** - * @see https://developer.github.com/v3/projects/columns/#update-a-project-column + * @see https://docs.github.com/rest/reference/activity#list-repositories-watched-by-a-user */ - "PATCH /projects/columns/:column_id": { - parameters: ProjectsUpdateColumnEndpoint; - request: ProjectsUpdateColumnRequestOptions; - response: OctokitResponse; - }; + "GET /users/{username}/subscriptions": Operation< + "/users/{username}/subscriptions", + "get" + >; /** - * @see https://developer.github.com/v3/projects/cards/#update-a-project-card + * @see */ - "PATCH /projects/columns/cards/:card_id": { - parameters: ProjectsUpdateCardEndpoint; - request: ProjectsUpdateCardRequestOptions; - response: OctokitResponse; - }; + "GET /zen": Operation<"/zen", "get">; /** - * @see https://developer.github.com/v3/repos/#update-a-repository + * @see https://docs.github.com/v3/apps#update-a-webhook-configuration-for-an-app */ - "PATCH /repos/:owner/:repo": { - parameters: ReposUpdateEndpoint; - request: ReposUpdateRequestOptions; - response: OctokitResponse; - }; + "PATCH /app/hook/config": Operation<"/app/hook/config", "patch">; /** - * @see https://developer.github.com/v3/repos/branches/#update-pull-request-review-protection + * @see https://docs.github.com/rest/reference/apps#reset-a-token */ - "PATCH /repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews": { - parameters: ReposUpdatePullRequestReviewProtectionEndpoint; - request: ReposUpdatePullRequestReviewProtectionRequestOptions; - response: OctokitResponse< - ReposUpdatePullRequestReviewProtectionResponseData - >; - }; + "PATCH /applications/{client_id}/token": Operation< + "/applications/{client_id}/token", + "patch" + >; /** - * @see https://developer.github.com/v3/repos/branches/#update-status-check-potection + * @see https://docs.github.com/rest/reference/oauth-authorizations#update-an-existing-authorization */ - "PATCH /repos/:owner/:repo/branches/:branch/protection/required_status_checks": { - parameters: ReposUpdateStatusCheckPotectionEndpoint; - request: ReposUpdateStatusCheckPotectionRequestOptions; - response: OctokitResponse; - }; + "PATCH /authorizations/{authorization_id}": Operation< + "/authorizations/{authorization_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/checks/runs/#update-a-check-run + * @see https://docs.github.com/rest/reference/enterprise-admin#update-a-self-hosted-runner-group-for-an-enterprise */ - "PATCH /repos/:owner/:repo/check-runs/:check_run_id": { - parameters: ChecksUpdateEndpoint; - request: ChecksUpdateRequestOptions; - response: OctokitResponse; - }; + "PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/checks/suites/#update-repository-preferences-for-check-suites + * @see https://docs.github.com/v3/gists/#update-a-gist */ - "PATCH /repos/:owner/:repo/check-suites/preferences": { - parameters: ChecksSetSuitesPreferencesEndpoint; - request: ChecksSetSuitesPreferencesRequestOptions; - response: OctokitResponse; - }; + "PATCH /gists/{gist_id}": Operation<"/gists/{gist_id}", "patch">; /** - * @see https://developer.github.com/v3/code-scanning/#upload-a-code-scanning-alert + * @see https://docs.github.com/rest/reference/gists#update-a-gist-comment */ - "PATCH /repos/:owner/:repo/code-scanning/alerts/:alert_number": { - parameters: CodeScanningUpdateAlertEndpoint; - request: CodeScanningUpdateAlertRequestOptions; - response: OctokitResponse; - }; + "PATCH /gists/{gist_id}/comments/{comment_id}": Operation< + "/gists/{gist_id}/comments/{comment_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/repos/comments/#update-a-commit-comment + * @see https://docs.github.com/rest/reference/activity#mark-a-thread-as-read */ - "PATCH /repos/:owner/:repo/comments/:comment_id": { - parameters: ReposUpdateCommitCommentEndpoint; - request: ReposUpdateCommitCommentRequestOptions; - response: OctokitResponse; - }; + "PATCH /notifications/threads/{thread_id}": Operation< + "/notifications/threads/{thread_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/git/refs/#update-a-reference + * @see https://docs.github.com/v3/orgs/#update-an-organization */ - "PATCH /repos/:owner/:repo/git/refs/:ref": { - parameters: GitUpdateRefEndpoint; - request: GitUpdateRefRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}": Operation<"/orgs/{org}", "patch">; /** - * @see https://developer.github.com/v3/repos/hooks/#update-a-repository-webhook + * @see https://docs.github.com/rest/reference/actions#update-a-self-hosted-runner-group-for-an-organization */ - "PATCH /repos/:owner/:repo/hooks/:hook_id": { - parameters: ReposUpdateWebhookEndpoint; - request: ReposUpdateWebhookRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#update-an-import + * @see https://docs.github.com/rest/reference/orgs#update-an-organization-webhook */ - "PATCH /repos/:owner/:repo/import": { - parameters: MigrationsUpdateImportEndpoint; - request: MigrationsUpdateImportRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/hooks/{hook_id}": Operation< + "/orgs/{org}/hooks/{hook_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#map-a-commit-author + * @see https://docs.github.com/v3/orgs#update-a-webhook-configuration-for-an-organization */ - "PATCH /repos/:owner/:repo/import/authors/:author_id": { - parameters: MigrationsMapCommitAuthorEndpoint; - request: MigrationsMapCommitAuthorRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/hooks/{hook_id}/config": Operation< + "/orgs/{org}/hooks/{hook_id}/config", + "patch" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#update-git-lfs-preference + * @see https://docs.github.com/v3/teams/#update-a-team */ - "PATCH /repos/:owner/:repo/import/lfs": { - parameters: MigrationsSetLfsPreferenceEndpoint; - request: MigrationsSetLfsPreferenceRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/teams/{team_slug}": Operation< + "/orgs/{org}/teams/{team_slug}", + "patch" + >; /** - * @see https://developer.github.com/v3/repos/invitations/#update-a-repository-invitation + * @see https://docs.github.com/rest/reference/teams#update-a-discussion */ - "PATCH /repos/:owner/:repo/invitations/:invitation_id": { - parameters: ReposUpdateInvitationEndpoint; - request: ReposUpdateInvitationRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/issues/#update-an-issue + * @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment */ - "PATCH /repos/:owner/:repo/issues/:issue_number": { - parameters: IssuesUpdateEndpoint; - request: IssuesUpdateRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/issues/comments/#update-an-issue-comment + * @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections */ - "PATCH /repos/:owner/:repo/issues/comments/:comment_id": { - parameters: IssuesUpdateCommentEndpoint; - request: IssuesUpdateCommentRequestOptions; - response: OctokitResponse; - }; + "PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings": Operation< + "/orgs/{org}/teams/{team_slug}/team-sync/group-mappings", + "patch" + >; /** - * @see https://developer.github.com/v3/issues/labels/#update-a-label + * @see https://docs.github.com/rest/reference/projects#update-a-project-card */ - "PATCH /repos/:owner/:repo/labels/:name": { - parameters: IssuesUpdateLabelEndpoint; - request: IssuesUpdateLabelRequestOptions; - response: OctokitResponse; - }; + "PATCH /projects/columns/cards/{card_id}": Operation< + "/projects/columns/cards/{card_id}", + "patch", + "inertia" + >; /** - * @see https://developer.github.com/v3/issues/milestones/#update-a-milestone + * @see https://docs.github.com/rest/reference/projects#update-a-project-column */ - "PATCH /repos/:owner/:repo/milestones/:milestone_number": { - parameters: IssuesUpdateMilestoneEndpoint; - request: IssuesUpdateMilestoneRequestOptions; - response: OctokitResponse; - }; + "PATCH /projects/columns/{column_id}": Operation< + "/projects/columns/{column_id}", + "patch", + "inertia" + >; /** - * @see https://developer.github.com/v3/pulls/#update-a-pull-request + * @see https://docs.github.com/v3/projects/#update-a-project */ - "PATCH /repos/:owner/:repo/pulls/:pull_number": { - parameters: PullsUpdateEndpoint; - request: PullsUpdateRequestOptions; - response: OctokitResponse; - }; + "PATCH /projects/{project_id}": Operation< + "/projects/{project_id}", + "patch", + "inertia" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#update-a-review-comment-for-a-pull-request + * @see https://docs.github.com/v3/repos/#update-a-repository */ - "PATCH /repos/:owner/:repo/pulls/comments/:comment_id": { - parameters: PullsUpdateReviewCommentEndpoint; - request: PullsUpdateReviewCommentRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}": Operation<"/repos/{owner}/{repo}", "patch">; /** - * @see https://developer.github.com/v3/repos/releases/#update-a-release + * @see https://docs.github.com/rest/reference/repos#update-pull-request-review-protection */ - "PATCH /repos/:owner/:repo/releases/:release_id": { - parameters: ReposUpdateReleaseEndpoint; - request: ReposUpdateReleaseRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews", + "patch" + >; /** - * @see https://developer.github.com/v3/repos/releases/#update-a-release-asset + * @see https://docs.github.com/rest/reference/repos#update-status-check-potection */ - "PATCH /repos/:owner/:repo/releases/assets/:asset_id": { - parameters: ReposUpdateReleaseAssetEndpoint; - request: ReposUpdateReleaseAssetRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", + "patch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-group + * @see https://docs.github.com/rest/reference/checks#update-a-check-run */ - "PATCH /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": { - parameters: EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint; - request: EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions; - response: OctokitResponse< - EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}": Operation< + "/repos/{owner}/{repo}/check-runs/{check_run_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#update-an-attribute-for-a-scim-enterprise-user + * @see https://docs.github.com/rest/reference/checks#update-repository-preferences-for-check-suites */ - "PATCH /scim/v2/enterprises/:enterprise/Users/:scim_user_id": { - parameters: EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint; - request: EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions; - response: OctokitResponse< - EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/check-suites/preferences": Operation< + "/repos/{owner}/{repo}/check-suites/preferences", + "patch" + >; /** - * @see https://developer.github.com/v3/scim/#update-an-attribute-for-a-scim-user + * @see https://docs.github.com/v3/code-scanning/#upload-a-code-scanning-alert */ - "PATCH /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimUpdateAttributeForUserEndpoint; - request: ScimUpdateAttributeForUserRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": Operation< + "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/teams/#update-a-team-legacy + * @see https://docs.github.com/rest/reference/repos#update-a-commit-comment */ - "PATCH /teams/:team_id": { - parameters: TeamsUpdateLegacyEndpoint; - request: TeamsUpdateLegacyRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/comments/{comment_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#update-a-discussion-legacy + * @see https://docs.github.com/rest/reference/git#update-a-reference */ - "PATCH /teams/:team_id/discussions/:discussion_number": { - parameters: TeamsUpdateDiscussionLegacyEndpoint; - request: TeamsUpdateDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/git/refs/{ref}": Operation< + "/repos/{owner}/{repo}/git/refs/{ref}", + "patch" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#update-a-discussion-comment-legacy + * @see https://docs.github.com/rest/reference/repos#update-a-repository-webhook */ - "PATCH /teams/:team_id/discussions/:discussion_number/comments/:comment_number": { - parameters: TeamsUpdateDiscussionCommentLegacyEndpoint; - request: TeamsUpdateDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/hooks/{hook_id}": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/teams/team_sync/#create-or-update-idp-group-connections-legacy + * @see https://docs.github.com/v3/repos#update-a-webhook-configuration-for-a-repository */ - "PATCH /teams/:team_id/team-sync/group-mappings": { - parameters: TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint; - request: TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions; - response: OctokitResponse< - TeamsCreateOrUpdateIdPGroupConnectionsLegacyResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}/config", + "patch" + >; /** - * @see https://developer.github.com/v3/users/#update-the-authenticated-user + * @see https://docs.github.com/rest/reference/migrations#update-an-import */ - "PATCH /user": { - parameters: UsersUpdateAuthenticatedEndpoint; - request: UsersUpdateAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/import": Operation< + "/repos/{owner}/{repo}/import", + "patch" + >; /** - * @see https://developer.github.com/v3/users/emails/#set-primary-email-visibility-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/migrations#map-a-commit-author */ - "PATCH /user/email/visibility": { - parameters: UsersSetPrimaryEmailVisibilityForAuthenticatedEndpoint; - request: UsersSetPrimaryEmailVisibilityForAuthenticatedRequestOptions; - response: OctokitResponse< - UsersSetPrimaryEmailVisibilityForAuthenticatedResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/import/authors/{author_id}": Operation< + "/repos/{owner}/{repo}/import/authors/{author_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/orgs/members/#update-an-organization-membership-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/migrations#update-git-lfs-preference */ - "PATCH /user/memberships/orgs/:org": { - parameters: OrgsUpdateMembershipForAuthenticatedUserEndpoint; - request: OrgsUpdateMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse< - OrgsUpdateMembershipForAuthenticatedUserResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/import/lfs": Operation< + "/repos/{owner}/{repo}/import/lfs", + "patch" + >; /** - * @see https://developer.github.com/v3/repos/invitations/#accept-a-repository-invitation + * @see https://docs.github.com/rest/reference/repos#update-a-repository-invitation */ - "PATCH /user/repository_invitations/:invitation_id": { - parameters: ReposAcceptInvitationEndpoint; - request: ReposAcceptInvitationRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}": Operation< + "/repos/{owner}/{repo}/invitations/{invitation_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest + * @see https://docs.github.com/rest/reference/issues#update-an-issue-comment */ - "POST /app-manifests/:code/conversions": { - parameters: AppsCreateFromManifestEndpoint; - request: AppsCreateFromManifestRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/issues/comments/{comment_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app + * @see https://docs.github.com/v3/issues/#update-an-issue */ - "POST /app/installations/:installation_id/access_tokens": { - parameters: AppsCreateInstallationAccessTokenEndpoint; - request: AppsCreateInstallationAccessTokenRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/issues/{issue_number}": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#check-a-token + * @see https://docs.github.com/rest/reference/issues#update-a-label */ - "POST /applications/:client_id/token": { - parameters: AppsCheckTokenEndpoint; - request: AppsCheckTokenRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/labels/{name}": Operation< + "/repos/{owner}/{repo}/labels/{name}", + "patch" + >; /** - * @see https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization + * @see https://docs.github.com/rest/reference/issues#update-a-milestone */ - "POST /applications/:client_id/tokens/:access_token": { - parameters: AppsResetAuthorizationEndpoint; - request: AppsResetAuthorizationRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}": Operation< + "/repos/{owner}/{repo}/milestones/{milestone_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization + * @see https://docs.github.com/rest/reference/pulls#update-a-review-comment-for-a-pull-request */ - "POST /authorizations": { - parameters: OauthAuthorizationsCreateAuthorizationEndpoint; - request: OauthAuthorizationsCreateAuthorizationRequestOptions; - response: OctokitResponse< - OauthAuthorizationsCreateAuthorizationResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}": Operation< + "/repos/{owner}/{repo}/pulls/comments/{comment_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/apps/installations/#create-a-content-attachment + * @see https://docs.github.com/v3/pulls/#update-a-pull-request */ - "POST /content_references/:content_reference_id/attachments": { - parameters: AppsCreateContentAttachmentEndpoint; - request: AppsCreateContentAttachmentRequestOptions; - response: OctokitResponse; - }; + "PATCH /repos/{owner}/{repo}/pulls/{pull_number}": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#create-self-hosted-runner-group-for-an-enterprise + * @see https://docs.github.com/rest/reference/repos#update-a-release-asset */ - "POST /enterprises/:enterprise/actions/runner-groups": { - parameters: EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseEndpoint; - request: EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}": Operation< + "/repos/{owner}/{repo}/releases/assets/{asset_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#create-a-registration-token-for-an-enterprise + * @see https://docs.github.com/rest/reference/repos#update-a-release */ - "POST /enterprises/:enterprise/actions/runners/registration-token": { - parameters: EnterpriseAdminCreateRegistrationTokenForEnterpriseEndpoint; - request: EnterpriseAdminCreateRegistrationTokenForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminCreateRegistrationTokenForEnterpriseResponseData - >; - }; + "PATCH /repos/{owner}/{repo}/releases/{release_id}": Operation< + "/repos/{owner}/{repo}/releases/{release_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#create-a-remove-token-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-group */ - "POST /enterprises/:enterprise/actions/runners/remove-token": { - parameters: EnterpriseAdminCreateRemoveTokenForEnterpriseEndpoint; - request: EnterpriseAdminCreateRemoveTokenForEnterpriseRequestOptions; - response: OctokitResponse< - EnterpriseAdminCreateRemoveTokenForEnterpriseResponseData - >; - }; + "PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/gists/#create-a-gist + * @see https://docs.github.com/rest/reference/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user */ - "POST /gists": { - parameters: GistsCreateEndpoint; - request: GistsCreateRequestOptions; - response: OctokitResponse; - }; + "PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/gists/comments/#create-a-gist-comment + * @see https://docs.github.com/v3/scim/#update-an-attribute-for-a-scim-user */ - "POST /gists/:gist_id/comments": { - parameters: GistsCreateCommentEndpoint; - request: GistsCreateCommentRequestOptions; - response: OctokitResponse; - }; + "PATCH /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation< + "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/gists/#fork-a-gist + * @see https://docs.github.com/v3/teams/#update-a-team-legacy */ - "POST /gists/:gist_id/forks": { - parameters: GistsForkEndpoint; - request: GistsForkRequestOptions; - response: OctokitResponse; - }; + "PATCH /teams/{team_id}": Operation<"/teams/{team_id}", "patch">; /** - * @see https://developer.github.com/v3/markdown/#render-a-markdown-document + * @see https://docs.github.com/rest/reference/teams#update-a-discussion-legacy */ - "POST /markdown": { - parameters: MarkdownRenderEndpoint; - request: MarkdownRenderRequestOptions; - response: OctokitResponse; - }; + "PATCH /teams/{team_id}/discussions/{discussion_number}": Operation< + "/teams/{team_id}/discussions/{discussion_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode + * @see https://docs.github.com/rest/reference/teams#update-a-discussion-comment-legacy */ - "POST /markdown/raw": { - parameters: MarkdownRenderRawEndpoint; - request: MarkdownRenderRawRequestOptions; - response: OctokitResponse; - }; + "PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}", + "patch" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#create-a-self-hosted-runner-group-for-an-organization + * @see https://docs.github.com/rest/reference/teams#create-or-update-idp-group-connections-legacy */ - "POST /orgs/:org/actions/runner-groups": { - parameters: ActionsCreateSelfHostedRunnerGroupForOrgEndpoint; - request: ActionsCreateSelfHostedRunnerGroupForOrgRequestOptions; - response: OctokitResponse< - ActionsCreateSelfHostedRunnerGroupForOrgResponseData - >; - }; + "PATCH /teams/{team_id}/team-sync/group-mappings": Operation< + "/teams/{team_id}/team-sync/group-mappings", + "patch" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-an-organization + * @see https://docs.github.com/v3/users/#update-the-authenticated-user */ - "POST /orgs/:org/actions/runners/registration-token": { - parameters: ActionsCreateRegistrationTokenForOrgEndpoint; - request: ActionsCreateRegistrationTokenForOrgRequestOptions; - response: OctokitResponse; - }; + "PATCH /user": Operation<"/user", "patch">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-an-organization + * @see https://docs.github.com/rest/reference/users#set-primary-email-visibility-for-the-authenticated-user */ - "POST /orgs/:org/actions/runners/remove-token": { - parameters: ActionsCreateRemoveTokenForOrgEndpoint; - request: ActionsCreateRemoveTokenForOrgRequestOptions; - response: OctokitResponse; - }; + "PATCH /user/email/visibility": Operation<"/user/email/visibility", "patch">; /** - * @see https://developer.github.com/v3/orgs/hooks/#create-an-organization-webhook + * @see https://docs.github.com/rest/reference/orgs#update-an-organization-membership-for-the-authenticated-user */ - "POST /orgs/:org/hooks": { - parameters: OrgsCreateWebhookEndpoint; - request: OrgsCreateWebhookRequestOptions; - response: OctokitResponse; - }; + "PATCH /user/memberships/orgs/{org}": Operation< + "/user/memberships/orgs/{org}", + "patch" + >; /** - * @see https://developer.github.com/v3/orgs/hooks/#ping-an-organization-webhook + * @see https://docs.github.com/rest/reference/repos#accept-a-repository-invitation */ - "POST /orgs/:org/hooks/:hook_id/pings": { - parameters: OrgsPingWebhookEndpoint; - request: OrgsPingWebhookRequestOptions; - response: OctokitResponse; - }; + "PATCH /user/repository_invitations/{invitation_id}": Operation< + "/user/repository_invitations/{invitation_id}", + "patch" + >; /** - * @see https://developer.github.com/v3/orgs/members/#create-an-organization-invitation + * @see https://docs.github.com/v3/apps/#create-a-github-app-from-a-manifest */ - "POST /orgs/:org/invitations": { - parameters: OrgsCreateInvitationEndpoint; - request: OrgsCreateInvitationRequestOptions; - response: OctokitResponse; - }; + "POST /app-manifests/{code}/conversions": Operation< + "/app-manifests/{code}/conversions", + "post" + >; /** - * @see https://developer.github.com/v3/migrations/orgs/#start-an-organization-migration + * @see https://docs.github.com/v3/apps/#create-an-installation-access-token-for-an-app */ - "POST /orgs/:org/migrations": { - parameters: MigrationsStartForOrgEndpoint; - request: MigrationsStartForOrgRequestOptions; - response: OctokitResponse; - }; + "POST /app/installations/{installation_id}/access_tokens": Operation< + "/app/installations/{installation_id}/access_tokens", + "post" + >; /** - * @see https://developer.github.com/v3/projects/#create-an-organization-project + * @see https://docs.github.com/rest/reference/apps#check-a-token */ - "POST /orgs/:org/projects": { - parameters: ProjectsCreateForOrgEndpoint; - request: ProjectsCreateForOrgRequestOptions; - response: OctokitResponse; - }; + "POST /applications/{client_id}/token": Operation< + "/applications/{client_id}/token", + "post" + >; /** - * @see https://developer.github.com/v3/repos/#create-an-organization-repository + * @see https://docs.github.com/rest/reference/apps#reset-an-authorization */ - "POST /orgs/:org/repos": { - parameters: ReposCreateInOrgEndpoint; - request: ReposCreateInOrgRequestOptions; - response: OctokitResponse; - }; + "POST /applications/{client_id}/tokens/{access_token}": Operation< + "/applications/{client_id}/tokens/{access_token}", + "post" + >; /** - * @see https://developer.github.com/v3/teams/#create-a-team + * @see https://docs.github.com/rest/reference/oauth-authorizations#create-a-new-authorization */ - "POST /orgs/:org/teams": { - parameters: TeamsCreateEndpoint; - request: TeamsCreateRequestOptions; - response: OctokitResponse; - }; + "POST /authorizations": Operation<"/authorizations", "post">; /** - * @see https://developer.github.com/v3/teams/discussions/#create-a-discussion + * @see https://docs.github.com/rest/reference/apps#create-a-content-attachment */ - "POST /orgs/:org/teams/:team_slug/discussions": { - parameters: TeamsCreateDiscussionInOrgEndpoint; - request: TeamsCreateDiscussionInOrgRequestOptions; - response: OctokitResponse; - }; + "POST /content_references/{content_reference_id}/attachments": Operation< + "/content_references/{content_reference_id}/attachments", + "post", + "corsair" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment + * @see https://docs.github.com/rest/reference/enterprise-admin#create-self-hosted-runner-group-for-an-enterprise */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments": { - parameters: TeamsCreateDiscussionCommentInOrgEndpoint; - request: TeamsCreateDiscussionCommentInOrgRequestOptions; - response: OctokitResponse; - }; + "POST /enterprises/{enterprise}/actions/runner-groups": Operation< + "/enterprises/{enterprise}/actions/runner-groups", + "post" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment + * @see https://docs.github.com/rest/reference/enterprise-admin#create-a-registration-token-for-an-enterprise */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionCommentInOrgEndpoint; - request: ReactionsCreateForTeamDiscussionCommentInOrgRequestOptions; - response: OctokitResponse< - ReactionsCreateForTeamDiscussionCommentInOrgResponseData - >; - }; + "POST /enterprises/{enterprise}/actions/runners/registration-token": Operation< + "/enterprises/{enterprise}/actions/runners/registration-token", + "post" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion + * @see https://docs.github.com/rest/reference/enterprise-admin#create-a-remove-token-for-an-enterprise */ - "POST /orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionInOrgEndpoint; - request: ReactionsCreateForTeamDiscussionInOrgRequestOptions; - response: OctokitResponse< - ReactionsCreateForTeamDiscussionInOrgResponseData - >; - }; + "POST /enterprises/{enterprise}/actions/runners/remove-token": Operation< + "/enterprises/{enterprise}/actions/runners/remove-token", + "post" + >; /** - * @see https://developer.github.com/v3/projects/columns/#create-a-project-column + * @see https://docs.github.com/v3/gists/#create-a-gist */ - "POST /projects/:project_id/columns": { - parameters: ProjectsCreateColumnEndpoint; - request: ProjectsCreateColumnRequestOptions; - response: OctokitResponse; - }; + "POST /gists": Operation<"/gists", "post">; /** - * @see https://developer.github.com/v3/projects/cards/#create-a-project-card + * @see https://docs.github.com/rest/reference/gists#create-a-gist-comment */ - "POST /projects/columns/:column_id/cards": { - parameters: ProjectsCreateCardEndpoint; - request: ProjectsCreateCardRequestOptions; - response: OctokitResponse; - }; + "POST /gists/{gist_id}/comments": Operation< + "/gists/{gist_id}/comments", + "post" + >; /** - * @see https://developer.github.com/v3/projects/columns/#move-a-project-column + * @see https://docs.github.com/v3/gists/#fork-a-gist */ - "POST /projects/columns/:column_id/moves": { - parameters: ProjectsMoveColumnEndpoint; - request: ProjectsMoveColumnRequestOptions; - response: OctokitResponse; - }; + "POST /gists/{gist_id}/forks": Operation<"/gists/{gist_id}/forks", "post">; /** - * @see https://developer.github.com/v3/projects/cards/#move-a-project-card + * @see https://docs.github.com/v3/markdown/#render-a-markdown-document */ - "POST /projects/columns/cards/:card_id/moves": { - parameters: ProjectsMoveCardEndpoint; - request: ProjectsMoveCardRequestOptions; - response: OctokitResponse; - }; + "POST /markdown": Operation<"/markdown", "post">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-registration-token-for-a-repository + * @see https://docs.github.com/v3/markdown/#render-a-markdown-document-in-raw-mode */ - "POST /repos/:owner/:repo/actions/runners/registration-token": { - parameters: ActionsCreateRegistrationTokenForRepoEndpoint; - request: ActionsCreateRegistrationTokenForRepoRequestOptions; - response: OctokitResponse< - ActionsCreateRegistrationTokenForRepoResponseData - >; - }; + "POST /markdown/raw": Operation<"/markdown/raw", "post">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runners/#create-a-remove-token-for-a-repository + * @see https://docs.github.com/rest/reference/actions#create-a-self-hosted-runner-group-for-an-organization */ - "POST /repos/:owner/:repo/actions/runners/remove-token": { - parameters: ActionsCreateRemoveTokenForRepoEndpoint; - request: ActionsCreateRemoveTokenForRepoRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/actions/runner-groups": Operation< + "/orgs/{org}/actions/runner-groups", + "post" + >; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#cancel-a-workflow-run + * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-an-organization */ - "POST /repos/:owner/:repo/actions/runs/:run_id/cancel": { - parameters: ActionsCancelWorkflowRunEndpoint; - request: ActionsCancelWorkflowRunRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/actions/runners/registration-token": Operation< + "/orgs/{org}/actions/runners/registration-token", + "post" + >; /** - * @see https://developer.github.com/v3/actions/workflow-runs/#re-run-a-workflow + * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-an-organization */ - "POST /repos/:owner/:repo/actions/runs/:run_id/rerun": { - parameters: ActionsReRunWorkflowEndpoint; - request: ActionsReRunWorkflowRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/actions/runners/remove-token": Operation< + "/orgs/{org}/actions/runners/remove-token", + "post" + >; /** - * @see https://developer.github.com/v3/actions/workflows/#create-a-workflow-dispatch-event + * @see https://docs.github.com/rest/reference/orgs#create-an-organization-webhook */ - "POST /repos/:owner/:repo/actions/workflows/:workflow_id/dispatches": { - parameters: ActionsCreateWorkflowDispatchEndpoint; - request: ActionsCreateWorkflowDispatchRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/hooks": Operation<"/orgs/{org}/hooks", "post">; /** - * @see https://developer.github.com/v3/repos/branches/#set-admin-branch-protection + * @see https://docs.github.com/rest/reference/orgs#ping-an-organization-webhook */ - "POST /repos/:owner/:repo/branches/:branch/protection/enforce_admins": { - parameters: ReposSetAdminBranchProtectionEndpoint; - request: ReposSetAdminBranchProtectionRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/hooks/{hook_id}/pings": Operation< + "/orgs/{org}/hooks/{hook_id}/pings", + "post" + >; /** - * @see https://developer.github.com/v3/repos/branches/#create-commit-signature-protection + * @see https://docs.github.com/rest/reference/orgs#create-an-organization-invitation */ - "POST /repos/:owner/:repo/branches/:branch/protection/required_signatures": { - parameters: ReposCreateCommitSignatureProtectionEndpoint; - request: ReposCreateCommitSignatureProtectionRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/invitations": Operation<"/orgs/{org}/invitations", "post">; /** - * @see https://developer.github.com/v3/repos/branches/#add-status-check-contexts + * @see https://docs.github.com/rest/reference/migrations#start-an-organization-migration */ - "POST /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposAddStatusCheckContextsEndpoint; - request: ReposAddStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/migrations": Operation<"/orgs/{org}/migrations", "post">; /** - * @see https://developer.github.com/v3/repos/branches/#add-app-access-restrictions + * @see https://docs.github.com/v3/projects/#create-an-organization-project */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposAddAppAccessRestrictionsEndpoint; - request: ReposAddAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/projects": Operation< + "/orgs/{org}/projects", + "post", + "inertia" + >; /** - * @see https://developer.github.com/v3/repos/branches/#add-team-access-restrictions + * @see https://docs.github.com/v3/repos/#create-an-organization-repository */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposAddTeamAccessRestrictionsEndpoint; - request: ReposAddTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/repos": Operation<"/orgs/{org}/repos", "post">; /** - * @see https://developer.github.com/v3/repos/branches/#add-user-access-restrictions + * @see https://docs.github.com/v3/teams/#create-a-team */ - "POST /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposAddUserAccessRestrictionsEndpoint; - request: ReposAddUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/teams": Operation<"/orgs/{org}/teams", "post">; /** - * @see https://developer.github.com/v3/checks/runs/#create-a-check-run + * @see https://docs.github.com/rest/reference/teams#create-a-discussion */ - "POST /repos/:owner/:repo/check-runs": { - parameters: ChecksCreateEndpoint; - request: ChecksCreateRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/teams/{team_slug}/discussions": Operation< + "/orgs/{org}/teams/{team_slug}/discussions", + "post" + >; /** - * @see https://developer.github.com/v3/checks/suites/#create-a-check-suite + * @see https://docs.github.com/rest/reference/teams#create-a-discussion-comment */ - "POST /repos/:owner/:repo/check-suites": { - parameters: ChecksCreateSuiteEndpoint; - request: ChecksCreateSuiteRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", + "post" + >; /** - * @see https://developer.github.com/v3/checks/suites/#rerequest-a-check-suite + * @see https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment */ - "POST /repos/:owner/:repo/check-suites/:check_suite_id/rerequest": { - parameters: ChecksRerequestSuiteEndpoint; - request: ChecksRerequestSuiteRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/code-scanning/#upload-a-sarif-analysis + * @see https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion */ - "POST /repos/:owner/:repo/code-scanning/sarifs": { - parameters: CodeScanningUploadSarifEndpoint; - request: CodeScanningUploadSarifRequestOptions; - response: OctokitResponse; - }; + "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions": Operation< + "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-commit-comment + * @see https://docs.github.com/rest/reference/projects#move-a-project-card */ - "POST /repos/:owner/:repo/comments/:comment_id/reactions": { - parameters: ReactionsCreateForCommitCommentEndpoint; - request: ReactionsCreateForCommitCommentRequestOptions; - response: OctokitResponse; - }; + "POST /projects/columns/cards/{card_id}/moves": Operation< + "/projects/columns/cards/{card_id}/moves", + "post", + "inertia" + >; /** - * @see https://developer.github.com/v3/repos/comments/#create-a-commit-comment + * @see https://docs.github.com/rest/reference/projects#create-a-project-card */ - "POST /repos/:owner/:repo/commits/:commit_sha/comments": { - parameters: ReposCreateCommitCommentEndpoint; - request: ReposCreateCommitCommentRequestOptions; - response: OctokitResponse; - }; + "POST /projects/columns/{column_id}/cards": Operation< + "/projects/columns/{column_id}/cards", + "post", + "inertia" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#create-a-deployment + * @see https://docs.github.com/rest/reference/projects#move-a-project-column */ - "POST /repos/:owner/:repo/deployments": { - parameters: ReposCreateDeploymentEndpoint; - request: ReposCreateDeploymentRequestOptions; - response: OctokitResponse< - | ReposCreateDeploymentResponseData - | ReposCreateDeploymentResponse202Data - | ReposCreateDeploymentResponse409Data - >; - }; + "POST /projects/columns/{column_id}/moves": Operation< + "/projects/columns/{column_id}/moves", + "post", + "inertia" + >; /** - * @see https://developer.github.com/v3/repos/deployments/#create-a-deployment-status + * @see https://docs.github.com/rest/reference/projects#create-a-project-column */ - "POST /repos/:owner/:repo/deployments/:deployment_id/statuses": { - parameters: ReposCreateDeploymentStatusEndpoint; - request: ReposCreateDeploymentStatusRequestOptions; - response: OctokitResponse; - }; + "POST /projects/{project_id}/columns": Operation< + "/projects/{project_id}/columns", + "post", + "inertia" + >; /** - * @see https://developer.github.com/v3/repos/#create-a-repository-dispatch-event + * @see https://docs.github.com/rest/reference/actions#create-a-registration-token-for-a-repository */ - "POST /repos/:owner/:repo/dispatches": { - parameters: ReposCreateDispatchEventEndpoint; - request: ReposCreateDispatchEventRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/actions/runners/registration-token": Operation< + "/repos/{owner}/{repo}/actions/runners/registration-token", + "post" + >; /** - * @see https://developer.github.com/v3/repos/forks/#create-a-fork + * @see https://docs.github.com/rest/reference/actions#create-a-remove-token-for-a-repository */ - "POST /repos/:owner/:repo/forks": { - parameters: ReposCreateForkEndpoint; - request: ReposCreateForkRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/actions/runners/remove-token": Operation< + "/repos/{owner}/{repo}/actions/runners/remove-token", + "post" + >; /** - * @see https://developer.github.com/v3/git/blobs/#create-a-blob + * @see https://docs.github.com/rest/reference/actions#cancel-a-workflow-run */ - "POST /repos/:owner/:repo/git/blobs": { - parameters: GitCreateBlobEndpoint; - request: GitCreateBlobRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/cancel", + "post" + >; /** - * @see https://developer.github.com/v3/git/commits/#create-a-commit + * @see https://docs.github.com/rest/reference/actions#re-run-a-workflow */ - "POST /repos/:owner/:repo/git/commits": { - parameters: GitCreateCommitEndpoint; - request: GitCreateCommitRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun": Operation< + "/repos/{owner}/{repo}/actions/runs/{run_id}/rerun", + "post" + >; /** - * @see https://developer.github.com/v3/git/refs/#create-a-reference + * @see https://docs.github.com/rest/reference/actions#create-a-workflow-dispatch-event */ - "POST /repos/:owner/:repo/git/refs": { - parameters: GitCreateRefEndpoint; - request: GitCreateRefRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches": Operation< + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches", + "post" + >; /** - * @see https://developer.github.com/v3/git/tags/#create-a-tag-object + * @see https://docs.github.com/rest/reference/repos#set-admin-branch-protection */ - "POST /repos/:owner/:repo/git/tags": { - parameters: GitCreateTagEndpoint; - request: GitCreateTagRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins", + "post" + >; /** - * @see https://developer.github.com/v3/git/trees/#create-a-tree + * @see https://docs.github.com/rest/reference/repos#create-commit-signature-protection */ - "POST /repos/:owner/:repo/git/trees": { - parameters: GitCreateTreeEndpoint; - request: GitCreateTreeRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures", + "post", + "zzzax" + >; /** - * @see https://developer.github.com/v3/repos/hooks/#create-a-repository-webhook + * @see https://docs.github.com/rest/reference/repos#add-status-check-contexts */ - "POST /repos/:owner/:repo/hooks": { - parameters: ReposCreateWebhookEndpoint; - request: ReposCreateWebhookRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "post" + >; /** - * @see https://developer.github.com/v3/repos/hooks/#ping-a-repository-webhook + * @see https://docs.github.com/rest/reference/repos#add-app-access-restrictions */ - "POST /repos/:owner/:repo/hooks/:hook_id/pings": { - parameters: ReposPingWebhookEndpoint; - request: ReposPingWebhookRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "post" + >; /** - * @see https://developer.github.com/v3/repos/hooks/#test-the-push-repository-webhook + * @see https://docs.github.com/rest/reference/repos#add-team-access-restrictions */ - "POST /repos/:owner/:repo/hooks/:hook_id/tests": { - parameters: ReposTestPushWebhookEndpoint; - request: ReposTestPushWebhookRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "post" + >; /** - * @see https://developer.github.com/v3/issues/#create-an-issue + * @see https://docs.github.com/rest/reference/repos#add-user-access-restrictions */ - "POST /repos/:owner/:repo/issues": { - parameters: IssuesCreateEndpoint; - request: IssuesCreateRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "post" + >; /** - * @see https://developer.github.com/v3/issues/assignees/#add-assignees-to-an-issue + * @see https://docs.github.com/rest/reference/checks#create-a-check-run */ - "POST /repos/:owner/:repo/issues/:issue_number/assignees": { - parameters: IssuesAddAssigneesEndpoint; - request: IssuesAddAssigneesRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/check-runs": Operation< + "/repos/{owner}/{repo}/check-runs", + "post" + >; /** - * @see https://developer.github.com/v3/issues/comments/#create-an-issue-comment + * @see https://docs.github.com/rest/reference/checks#create-a-check-suite */ - "POST /repos/:owner/:repo/issues/:issue_number/comments": { - parameters: IssuesCreateCommentEndpoint; - request: IssuesCreateCommentRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/check-suites": Operation< + "/repos/{owner}/{repo}/check-suites", + "post" + >; /** - * @see https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue + * @see https://docs.github.com/rest/reference/checks#rerequest-a-check-suite */ - "POST /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesAddLabelsEndpoint; - request: IssuesAddLabelsRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": Operation< + "/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest", + "post" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-an-issue + * @see https://docs.github.com/v3/code-scanning/#upload-a-sarif-analysis */ - "POST /repos/:owner/:repo/issues/:issue_number/reactions": { - parameters: ReactionsCreateForIssueEndpoint; - request: ReactionsCreateForIssueRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/code-scanning/sarifs": Operation< + "/repos/{owner}/{repo}/code-scanning/sarifs", + "post" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-an-issue-comment + * @see https://docs.github.com/v3/reactions/#create-reaction-for-a-commit-comment */ - "POST /repos/:owner/:repo/issues/comments/:comment_id/reactions": { - parameters: ReactionsCreateForIssueCommentEndpoint; - request: ReactionsCreateForIssueCommentRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions": Operation< + "/repos/{owner}/{repo}/comments/{comment_id}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/keys/#create-a-deploy-key + * @see https://docs.github.com/rest/reference/repos#create-a-commit-comment */ - "POST /repos/:owner/:repo/keys": { - parameters: ReposCreateDeployKeyEndpoint; - request: ReposCreateDeployKeyRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments": Operation< + "/repos/{owner}/{repo}/commits/{commit_sha}/comments", + "post" + >; /** - * @see https://developer.github.com/v3/issues/labels/#create-a-label + * @see https://docs.github.com/rest/reference/repos#create-a-deployment */ - "POST /repos/:owner/:repo/labels": { - parameters: IssuesCreateLabelEndpoint; - request: IssuesCreateLabelRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/deployments": Operation< + "/repos/{owner}/{repo}/deployments", + "post" + >; /** - * @see https://developer.github.com/v3/repos/merging/#merge-a-branch + * @see https://docs.github.com/rest/reference/repos#create-a-deployment-status */ - "POST /repos/:owner/:repo/merges": { - parameters: ReposMergeEndpoint; - request: ReposMergeRequestOptions; - response: OctokitResponse< - | ReposMergeResponseData - | ReposMergeResponse404Data - | ReposMergeResponse409Data - >; - }; + "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses": Operation< + "/repos/{owner}/{repo}/deployments/{deployment_id}/statuses", + "post" + >; /** - * @see https://developer.github.com/v3/issues/milestones/#create-a-milestone + * @see https://docs.github.com/v3/repos/#create-a-repository-dispatch-event */ - "POST /repos/:owner/:repo/milestones": { - parameters: IssuesCreateMilestoneEndpoint; - request: IssuesCreateMilestoneRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/dispatches": Operation< + "/repos/{owner}/{repo}/dispatches", + "post" + >; /** - * @see https://developer.github.com/v3/repos/pages/#create-a-github-pages-site + * @see https://docs.github.com/rest/reference/repos#create-a-fork */ - "POST /repos/:owner/:repo/pages": { - parameters: ReposCreatePagesSiteEndpoint; - request: ReposCreatePagesSiteRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/forks": Operation< + "/repos/{owner}/{repo}/forks", + "post" + >; /** - * @see https://developer.github.com/v3/repos/pages/#request-a-github-pages-build + * @see https://docs.github.com/rest/reference/git#create-a-blob */ - "POST /repos/:owner/:repo/pages/builds": { - parameters: ReposRequestPagesBuildEndpoint; - request: ReposRequestPagesBuildRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/git/blobs": Operation< + "/repos/{owner}/{repo}/git/blobs", + "post" + >; /** - * @see https://developer.github.com/v3/projects/#create-a-repository-project + * @see https://docs.github.com/rest/reference/git#create-a-commit */ - "POST /repos/:owner/:repo/projects": { - parameters: ProjectsCreateForRepoEndpoint; - request: ProjectsCreateForRepoRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/git/commits": Operation< + "/repos/{owner}/{repo}/git/commits", + "post" + >; /** - * @see https://developer.github.com/v3/pulls/#create-a-pull-request + * @see https://docs.github.com/rest/reference/git#create-a-reference */ - "POST /repos/:owner/:repo/pulls": { - parameters: PullsCreateEndpoint; - request: PullsCreateRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/git/refs": Operation< + "/repos/{owner}/{repo}/git/refs", + "post" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#create-a-review-comment-for-a-pull-request + * @see https://docs.github.com/rest/reference/git#create-a-tag-object */ - "POST /repos/:owner/:repo/pulls/:pull_number/comments": { - parameters: PullsCreateReviewCommentEndpoint; - request: PullsCreateReviewCommentRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/git/tags": Operation< + "/repos/{owner}/{repo}/git/tags", + "post" + >; /** - * @see https://developer.github.com/v3/pulls/comments/#create-a-reply-for-a-review-comment + * @see https://docs.github.com/rest/reference/git#create-a-tree */ - "POST /repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies": { - parameters: PullsCreateReplyForReviewCommentEndpoint; - request: PullsCreateReplyForReviewCommentRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/git/trees": Operation< + "/repos/{owner}/{repo}/git/trees", + "post" + >; /** - * @see https://developer.github.com/v3/pulls/review_requests/#request-reviewers-for-a-pull-request + * @see https://docs.github.com/rest/reference/repos#create-a-repository-webhook */ - "POST /repos/:owner/:repo/pulls/:pull_number/requested_reviewers": { - parameters: PullsRequestReviewersEndpoint; - request: PullsRequestReviewersRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/hooks": Operation< + "/repos/{owner}/{repo}/hooks", + "post" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#create-a-review-for-a-pull-request + * @see https://docs.github.com/rest/reference/repos#ping-a-repository-webhook */ - "POST /repos/:owner/:repo/pulls/:pull_number/reviews": { - parameters: PullsCreateReviewEndpoint; - request: PullsCreateReviewRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/hooks/{hook_id}/pings": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}/pings", + "post" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request + * @see https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook */ - "POST /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events": { - parameters: PullsSubmitReviewEndpoint; - request: PullsSubmitReviewRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/hooks/{hook_id}/tests": Operation< + "/repos/{owner}/{repo}/hooks/{hook_id}/tests", + "post" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment + * @see https://docs.github.com/v3/issues/#create-an-issue */ - "POST /repos/:owner/:repo/pulls/comments/:comment_id/reactions": { - parameters: ReactionsCreateForPullRequestReviewCommentEndpoint; - request: ReactionsCreateForPullRequestReviewCommentRequestOptions; - response: OctokitResponse< - ReactionsCreateForPullRequestReviewCommentResponseData - >; - }; + "POST /repos/{owner}/{repo}/issues": Operation< + "/repos/{owner}/{repo}/issues", + "post" + >; /** - * @see https://developer.github.com/v3/repos/releases/#create-a-release + * @see https://docs.github.com/v3/reactions/#create-reaction-for-an-issue-comment */ - "POST /repos/:owner/:repo/releases": { - parameters: ReposCreateReleaseEndpoint; - request: ReposCreateReleaseRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions": Operation< + "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/repos/releases/#upload-a-release-asset + * @see https://docs.github.com/rest/reference/issues#add-assignees-to-an-issue */ - "POST /repos/:owner/:repo/releases/:release_id/assets{?name,label}": { - parameters: ReposUploadReleaseAssetEndpoint; - request: ReposUploadReleaseAssetRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/assignees", + "post" + >; /** - * @see https://developer.github.com/v3/repos/statuses/#create-a-commit-status + * @see https://docs.github.com/rest/reference/issues#create-an-issue-comment */ - "POST /repos/:owner/:repo/statuses/:sha": { - parameters: ReposCreateCommitStatusEndpoint; - request: ReposCreateCommitStatusRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/issues/{issue_number}/comments": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/comments", + "post" + >; /** - * @see https://developer.github.com/v3/repos/#transfer-a-repository + * @see https://docs.github.com/rest/reference/issues#add-labels-to-an-issue */ - "POST /repos/:owner/:repo/transfer": { - parameters: ReposTransferEndpoint; - request: ReposTransferRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "post" + >; /** - * @see https://developer.github.com/v3/repos/#create-a-repository-using-a-template + * @see https://docs.github.com/v3/reactions/#create-reaction-for-an-issue */ - "POST /repos/:template_owner/:template_repo/generate": { - parameters: ReposCreateUsingTemplateEndpoint; - request: ReposCreateUsingTemplateRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#provision-a-scim-enterprise-group-and-invite-users + * @see https://docs.github.com/rest/reference/repos#create-a-deploy-key */ - "POST /scim/v2/enterprises/:enterprise/Groups": { - parameters: EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint; - request: EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions; - response: OctokitResponse< - EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData - >; - }; + "POST /repos/{owner}/{repo}/keys": Operation< + "/repos/{owner}/{repo}/keys", + "post" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#provision-and-invite-a-scim-enterprise-user + * @see https://docs.github.com/rest/reference/issues#create-a-label */ - "POST /scim/v2/enterprises/:enterprise/Users": { - parameters: EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint; - request: EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions; - response: OctokitResponse< - EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData - >; - }; + "POST /repos/{owner}/{repo}/labels": Operation< + "/repos/{owner}/{repo}/labels", + "post" + >; /** - * @see https://developer.github.com/v3/scim/#provision-and-invite-a-scim-user + * @see https://docs.github.com/rest/reference/repos#merge-a-branch */ - "POST /scim/v2/organizations/:org/Users": { - parameters: ScimProvisionAndInviteUserEndpoint; - request: ScimProvisionAndInviteUserRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/merges": Operation< + "/repos/{owner}/{repo}/merges", + "post" + >; /** - * @see https://developer.github.com/v3/teams/discussions/#create-a-discussion-legacy + * @see https://docs.github.com/rest/reference/issues#create-a-milestone */ - "POST /teams/:team_id/discussions": { - parameters: TeamsCreateDiscussionLegacyEndpoint; - request: TeamsCreateDiscussionLegacyRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/milestones": Operation< + "/repos/{owner}/{repo}/milestones", + "post" + >; /** - * @see https://developer.github.com/v3/teams/discussion_comments/#create-a-discussion-comment-legacy + * @see https://docs.github.com/rest/reference/repos#create-a-github-pages-site */ - "POST /teams/:team_id/discussions/:discussion_number/comments": { - parameters: TeamsCreateDiscussionCommentLegacyEndpoint; - request: TeamsCreateDiscussionCommentLegacyRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pages": Operation< + "/repos/{owner}/{repo}/pages", + "post", + "switcheroo" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy + * @see https://docs.github.com/rest/reference/repos#request-a-github-pages-build */ - "POST /teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionCommentLegacyEndpoint; - request: ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions; - response: OctokitResponse< - ReactionsCreateForTeamDiscussionCommentLegacyResponseData - >; - }; + "POST /repos/{owner}/{repo}/pages/builds": Operation< + "/repos/{owner}/{repo}/pages/builds", + "post" + >; /** - * @see https://developer.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy + * @see https://docs.github.com/v3/projects/#create-a-repository-project */ - "POST /teams/:team_id/discussions/:discussion_number/reactions": { - parameters: ReactionsCreateForTeamDiscussionLegacyEndpoint; - request: ReactionsCreateForTeamDiscussionLegacyRequestOptions; - response: OctokitResponse< - ReactionsCreateForTeamDiscussionLegacyResponseData - >; - }; + "POST /repos/{owner}/{repo}/projects": Operation< + "/repos/{owner}/{repo}/projects", + "post", + "inertia" + >; /** - * @see https://developer.github.com/v3/users/emails/#add-an-email-address-for-the-authenticated-user + * @see https://docs.github.com/v3/pulls/#create-a-pull-request */ - "POST /user/emails": { - parameters: UsersAddEmailForAuthenticatedEndpoint; - request: UsersAddEmailForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pulls": Operation< + "/repos/{owner}/{repo}/pulls", + "post" + >; /** - * @see https://developer.github.com/v3/users/gpg_keys/#create-a-gpg-key-for-the-authenticated-user + * @see https://docs.github.com/v3/reactions/#create-reaction-for-a-pull-request-review-comment */ - "POST /user/gpg_keys": { - parameters: UsersCreateGpgKeyForAuthenticatedEndpoint; - request: UsersCreateGpgKeyForAuthenticatedRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions": Operation< + "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/users/keys/#create-a-public-ssh-key-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/pulls#create-a-review-comment-for-a-pull-request */ - "POST /user/keys": { - parameters: UsersCreatePublicSshKeyForAuthenticatedEndpoint; - request: UsersCreatePublicSshKeyForAuthenticatedRequestOptions; - response: OctokitResponse< - UsersCreatePublicSshKeyForAuthenticatedResponseData - >; - }; + "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/comments", + "post" + >; /** - * @see https://developer.github.com/v3/migrations/users/#start-a-user-migration + * @see https://docs.github.com/rest/reference/pulls#create-a-reply-for-a-review-comment */ - "POST /user/migrations": { - parameters: MigrationsStartForAuthenticatedUserEndpoint; - request: MigrationsStartForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies", + "post" + >; /** - * @see https://developer.github.com/v3/projects/#create-a-user-project + * @see https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request */ - "POST /user/projects": { - parameters: ProjectsCreateForAuthenticatedUserEndpoint; - request: ProjectsCreateForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers", + "post" + >; /** - * @see https://developer.github.com/v3/repos/#create-a-repository-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/pulls#create-a-review-for-a-pull-request */ - "POST /user/repos": { - parameters: ReposCreateForAuthenticatedUserEndpoint; - request: ReposCreateForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews", + "post" + >; /** - * @see https://developer.github.com/v3/apps/#suspend-an-app-installation + * @see https://docs.github.com/rest/reference/pulls#submit-a-review-for-a-pull-request */ - "PUT /app/installations/:installation_id/suspended": { - parameters: AppsSuspendInstallationEndpoint; - request: AppsSuspendInstallationRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events", + "post" + >; /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app + * @see https://docs.github.com/rest/reference/repos#create-a-release */ - "PUT /authorizations/clients/:client_id": { - parameters: OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint; - request: OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions; - response: OctokitResponse< - | OauthAuthorizationsGetOrCreateAuthorizationForAppResponseData - | OauthAuthorizationsGetOrCreateAuthorizationForAppResponse201Data - >; - }; + "POST /repos/{owner}/{repo}/releases": Operation< + "/repos/{owner}/{repo}/releases", + "post" + >; /** - * @see https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint + * @see https://docs.github.com/rest/reference/repos#create-a-commit-status */ - "PUT /authorizations/clients/:client_id/:fingerprint": { - parameters: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint; - request: OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions; - response: OctokitResponse< - | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponseData - | OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponse201Data - >; - }; + "POST /repos/{owner}/{repo}/statuses/{sha}": Operation< + "/repos/{owner}/{repo}/statuses/{sha}", + "post" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise + * @see https://docs.github.com/v3/repos/#transfer-a-repository */ - "PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations": { - parameters: EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint; - request: EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{owner}/{repo}/transfer": Operation< + "/repos/{owner}/{repo}/transfer", + "post" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise + * @see https://docs.github.com/v3/repos/#create-a-repository-using-a-template */ - "PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id": { - parameters: EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint; - request: EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions; - response: OctokitResponse; - }; + "POST /repos/{template_owner}/{template_repo}/generate": Operation< + "/repos/{template_owner}/{template_repo}/generate", + "post", + "baptiste" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#set-self-hosted-runners-in-a-group-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#provision-a-scim-enterprise-group-and-invite-users */ - "PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners": { - parameters: EnterpriseAdminSetSelfHostedInGroupForEnterpriseEndpoint; - request: EnterpriseAdminSetSelfHostedInGroupForEnterpriseRequestOptions; - response: OctokitResponse; - }; + "POST /scim/v2/enterprises/{enterprise}/Groups": Operation< + "/scim/v2/enterprises/{enterprise}/Groups", + "post" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/actions/#add-a-self-hosted-runner-to-a-group-for-an-enterprise + * @see https://docs.github.com/rest/reference/enterprise-admin#provision-and-invite-a-scim-enterprise-user */ - "PUT /enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id": { - parameters: EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseEndpoint; - request: EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseRequestOptions; - response: OctokitResponse; - }; + "POST /scim/v2/enterprises/{enterprise}/Users": Operation< + "/scim/v2/enterprises/{enterprise}/Users", + "post" + >; /** - * @see https://developer.github.com/v3/gists/#star-a-gist + * @see https://docs.github.com/v3/scim/#provision-and-invite-a-scim-user */ - "PUT /gists/:gist_id/star": { - parameters: GistsStarEndpoint; - request: GistsStarRequestOptions; - response: OctokitResponse; - }; + "POST /scim/v2/organizations/{org}/Users": Operation< + "/scim/v2/organizations/{org}/Users", + "post" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read + * @see https://docs.github.com/rest/reference/teams#create-a-discussion-legacy */ - "PUT /notifications": { - parameters: ActivityMarkNotificationsAsReadEndpoint; - request: ActivityMarkNotificationsAsReadRequestOptions; - response: OctokitResponse; - }; + "POST /teams/{team_id}/discussions": Operation< + "/teams/{team_id}/discussions", + "post" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription + * @see https://docs.github.com/rest/reference/teams#create-a-discussion-comment-legacy */ - "PUT /notifications/threads/:thread_id/subscription": { - parameters: ActivitySetThreadSubscriptionEndpoint; - request: ActivitySetThreadSubscriptionRequestOptions; - response: OctokitResponse; - }; + "POST /teams/{team_id}/discussions/{discussion_number}/comments": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments", + "post" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#set-repository-access-to-a-self-hosted-runner-group-in-an-organization + * @see https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-comment-legacy */ - "PUT /orgs/:org/actions/runner-groups/:runner_group_id/repositories": { - parameters: ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgEndpoint; - request: ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions; - response: OctokitResponse; - }; + "POST /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions": Operation< + "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization + * @see https://docs.github.com/v3/reactions/#create-reaction-for-a-team-discussion-legacy */ - "PUT /orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id": { - parameters: ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgEndpoint; - request: ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions; - response: OctokitResponse; - }; + "POST /teams/{team_id}/discussions/{discussion_number}/reactions": Operation< + "/teams/{team_id}/discussions/{discussion_number}/reactions", + "post", + "squirrel-girl" + >; /** - * @see https://developer.github.com/v3/actions/sef-hosted-runner-groups/#set-self-hosted-runners-in-a-group-for-an-organization + * @see https://docs.github.com/rest/reference/users#add-an-email-address-for-the-authenticated-user */ - "PUT /orgs/:org/actions/runner-groups/:runner_group_id/runners": { - parameters: ActionsSetSelfHostedRunnersInGroupForOrgEndpoint; - request: ActionsSetSelfHostedRunnersInGroupForOrgRequestOptions; - response: OctokitResponse; - }; + "POST /user/emails": Operation<"/user/emails", "post">; /** - * @see https://developer.github.com/v3/actions/self-hosted-runner-groups/#add-a-self-hosted-runner-to-a-group-for-an-organization + * @see https://docs.github.com/rest/reference/users#create-a-gpg-key-for-the-authenticated-user */ - "PUT /orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id": { - parameters: ActionsAddSelfHostedRunnerToGroupForOrgEndpoint; - request: ActionsAddSelfHostedRunnerToGroupForOrgRequestOptions; - response: OctokitResponse; - }; + "POST /user/gpg_keys": Operation<"/user/gpg_keys", "post">; /** - * @see https://developer.github.com/v3/actions/secrets/#create-or-update-an-organization-secret + * @see https://docs.github.com/rest/reference/users#create-a-public-ssh-key-for-the-authenticated-user */ - "PUT /orgs/:org/actions/secrets/:secret_name": { - parameters: ActionsCreateOrUpdateOrgSecretEndpoint; - request: ActionsCreateOrUpdateOrgSecretRequestOptions; - response: OctokitResponse; - }; + "POST /user/keys": Operation<"/user/keys", "post">; /** - * @see https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret + * @see https://docs.github.com/rest/reference/migrations#start-a-user-migration */ - "PUT /orgs/:org/actions/secrets/:secret_name/repositories": { - parameters: ActionsSetSelectedReposForOrgSecretEndpoint; - request: ActionsSetSelectedReposForOrgSecretRequestOptions; - response: OctokitResponse; - }; + "POST /user/migrations": Operation<"/user/migrations", "post">; /** - * @see https://developer.github.com/v3/actions/secrets/#add-selected-repository-to-an-organization-secret + * @see https://docs.github.com/v3/projects/#create-a-user-project */ - "PUT /orgs/:org/actions/secrets/:secret_name/repositories/:repository_id": { - parameters: ActionsAddSelectedRepoToOrgSecretEndpoint; - request: ActionsAddSelectedRepoToOrgSecretRequestOptions; - response: OctokitResponse; - }; + "POST /user/projects": Operation<"/user/projects", "post", "inertia">; /** - * @see https://developer.github.com/v3/orgs/blocking/#block-a-user-from-an-organization + * @see https://docs.github.com/v3/repos/#create-a-repository-for-the-authenticated-user */ - "PUT /orgs/:org/blocks/:username": { - parameters: OrgsBlockUserEndpoint; - request: OrgsBlockUserRequestOptions; - response: OctokitResponse; - }; + "POST /user/repos": Operation<"/user/repos", "post">; /** - * @see https://developer.github.com/v3/interactions/orgs/#set-interaction-restrictions-for-an-organization + * @see https://docs.github.com/rest/reference/repos#upload-a-release-asset */ - "PUT /orgs/:org/interaction-limits": { - parameters: InteractionsSetRestrictionsForOrgEndpoint; - request: InteractionsSetRestrictionsForOrgRequestOptions; - response: OctokitResponse; - }; + "POST {origin}/repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}": Operation< + "/repos/{owner}/{repo}/releases/{release_id}/assets", + "post" + >; /** - * @see https://developer.github.com/v3/orgs/members/#set-organization-membership-for-a-user + * @see https://docs.github.com/v3/apps/#suspend-an-app-installation */ - "PUT /orgs/:org/memberships/:username": { - parameters: OrgsSetMembershipForUserEndpoint; - request: OrgsSetMembershipForUserRequestOptions; - response: OctokitResponse; - }; + "PUT /app/installations/{installation_id}/suspended": Operation< + "/app/installations/{installation_id}/suspended", + "put" + >; /** - * @see https://developer.github.com/v3/orgs/outside_collaborators/#convert-an-organization-member-to-outside-collaborator + * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app */ - "PUT /orgs/:org/outside_collaborators/:username": { - parameters: OrgsConvertMemberToOutsideCollaboratorEndpoint; - request: OrgsConvertMemberToOutsideCollaboratorRequestOptions; - response: OctokitResponse< - OrgsConvertMemberToOutsideCollaboratorResponseData - >; - }; + "PUT /authorizations/clients/{client_id}": Operation< + "/authorizations/clients/{client_id}", + "put" + >; /** - * @see https://developer.github.com/v3/orgs/members/#set-public-organization-membership-for-the-authenticated-user + * @see https://docs.github.com/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint */ - "PUT /orgs/:org/public_members/:username": { - parameters: OrgsSetPublicMembershipForAuthenticatedUserEndpoint; - request: OrgsSetPublicMembershipForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; + "PUT /authorizations/clients/{client_id}/{fingerprint}": Operation< + "/authorizations/clients/{client_id}/{fingerprint}", + "put" + >; /** - * @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user + * @see https://docs.github.com/rest/reference/enterprise-admin#set-github-actions-permissions-for-an-enterprise */ - "PUT /orgs/:org/teams/:team_slug/memberships/:username": { - parameters: TeamsAddOrUpdateMembershipForUserInOrgEndpoint; - request: TeamsAddOrUpdateMembershipForUserInOrgRequestOptions; - response: OctokitResponse< - | TeamsAddOrUpdateMembershipForUserInOrgResponseData - | TeamsAddOrUpdateMembershipForUserInOrgResponse422Data - >; - }; + "PUT /enterprises/{enterprise}/actions/permissions": Operation< + "/enterprises/{enterprise}/actions/permissions", + "put" + >; /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions + * @see https://docs.github.com/rest/reference/enterprise-admin#set-selected-organizations-enabled-for-github-actions-in-an-enterprise */ - "PUT /orgs/:org/teams/:team_slug/projects/:project_id": { - parameters: TeamsAddOrUpdateProjectPermissionsInOrgEndpoint; - request: TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions; - response: OctokitResponse< - TeamsAddOrUpdateProjectPermissionsInOrgResponseData - >; - }; + "PUT /enterprises/{enterprise}/actions/permissions/organizations": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations", + "put" + >; /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions + * @see https://docs.github.com/rest/reference/enterprise-admin#enable-a-selected-organization-for-github-actions-in-an-enterprise */ - "PUT /orgs/:org/teams/:team_slug/repos/:owner/:repo": { - parameters: TeamsAddOrUpdateRepoPermissionsInOrgEndpoint; - request: TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions; - response: OctokitResponse; - }; + "PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}": Operation< + "/enterprises/{enterprise}/actions/permissions/organizations/{org_id}", + "put" + >; /** - * @see https://developer.github.com/v3/projects/collaborators/#add-project-collaborator + * @see https://docs.github.com/rest/reference/enterprise-admin#set-allowed-actions-for-an-enterprise */ - "PUT /projects/:project_id/collaborators/:username": { - parameters: ProjectsAddCollaboratorEndpoint; - request: ProjectsAddCollaboratorRequestOptions; - response: OctokitResponse; - }; + "PUT /enterprises/{enterprise}/actions/permissions/selected-actions": Operation< + "/enterprises/{enterprise}/actions/permissions/selected-actions", + "put" + >; /** - * @see https://developer.github.com/v3/actions/secrets/#create-or-update-a-repository-secret + * @see https://docs.github.com/rest/reference/enterprise-admin#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise */ - "PUT /repos/:owner/:repo/actions/secrets/:secret_name": { - parameters: ActionsCreateOrUpdateRepoSecretEndpoint; - request: ActionsCreateOrUpdateRepoSecretRequestOptions; - response: OctokitResponse; - }; + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations", + "put" + >; /** - * @see https://developer.github.com/v3/repos/#enable-automated-security-fixes + * @see https://docs.github.com/rest/reference/enterprise-admin#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise */ - "PUT /repos/:owner/:repo/automated-security-fixes": { - parameters: ReposEnableAutomatedSecurityFixesEndpoint; - request: ReposEnableAutomatedSecurityFixesRequestOptions; - response: OctokitResponse; - }; + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "put" + >; /** - * @see https://developer.github.com/v3/repos/branches/#update-branch-protection + * @see https://docs.github.com/rest/reference/enterprise-admin#set-self-hosted-runners-in-a-group-for-an-enterprise */ - "PUT /repos/:owner/:repo/branches/:branch/protection": { - parameters: ReposUpdateBranchProtectionEndpoint; - request: ReposUpdateBranchProtectionRequestOptions; - response: OctokitResponse; - }; + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners", + "put" + >; /** - * @see https://developer.github.com/v3/repos/branches/#set-status-check-contexts + * @see https://docs.github.com/rest/reference/enterprise-admin#add-a-self-hosted-runner-to-a-group-for-an-enterprise */ - "PUT /repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts": { - parameters: ReposSetStatusCheckContextsEndpoint; - request: ReposSetStatusCheckContextsRequestOptions; - response: OctokitResponse; - }; + "PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< + "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "put" + >; /** - * @see https://developer.github.com/v3/repos/branches/#set-app-access-restrictions + * @see https://docs.github.com/v3/gists/#star-a-gist */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/apps": { - parameters: ReposSetAppAccessRestrictionsEndpoint; - request: ReposSetAppAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "PUT /gists/{gist_id}/star": Operation<"/gists/{gist_id}/star", "put">; /** - * @see https://developer.github.com/v3/repos/branches/#set-team-access-restrictions + * @see https://docs.github.com/rest/reference/activity#mark-notifications-as-read */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/teams": { - parameters: ReposSetTeamAccessRestrictionsEndpoint; - request: ReposSetTeamAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "PUT /notifications": Operation<"/notifications", "put">; /** - * @see https://developer.github.com/v3/repos/branches/#set-user-access-restrictions + * @see https://docs.github.com/rest/reference/activity#set-a-thread-subscription */ - "PUT /repos/:owner/:repo/branches/:branch/protection/restrictions/users": { - parameters: ReposSetUserAccessRestrictionsEndpoint; - request: ReposSetUserAccessRestrictionsRequestOptions; - response: OctokitResponse; - }; + "PUT /notifications/threads/{thread_id}/subscription": Operation< + "/notifications/threads/{thread_id}/subscription", + "put" + >; /** - * @see https://developer.github.com/v3/repos/collaborators/#add-a-repository-collaborator + * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-an-organization */ - "PUT /repos/:owner/:repo/collaborators/:username": { - parameters: ReposAddCollaboratorEndpoint; - request: ReposAddCollaboratorRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/permissions": Operation< + "/orgs/{org}/actions/permissions", + "put" + >; /** - * @see https://developer.github.com/v3/repos/contents/#create-or-update-file-contents + * @see https://docs.github.com/rest/reference/actions#set-selected-repositories-enabled-for-github-actions-in-an-organization */ - "PUT /repos/:owner/:repo/contents/:path": { - parameters: ReposCreateOrUpdateFileContentsEndpoint; - request: ReposCreateOrUpdateFileContentsRequestOptions; - response: OctokitResponse< - | ReposCreateOrUpdateFileContentsResponseData - | ReposCreateOrUpdateFileContentsResponse201Data - >; - }; + "PUT /orgs/{org}/actions/permissions/repositories": Operation< + "/orgs/{org}/actions/permissions/repositories", + "put" + >; /** - * @see https://developer.github.com/v3/migrations/source_imports/#start-an-import + * @see https://docs.github.com/rest/reference/actions#enable-a-selected-repository-for-github-actions-in-an-organization */ - "PUT /repos/:owner/:repo/import": { - parameters: MigrationsStartImportEndpoint; - request: MigrationsStartImportRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/permissions/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "put" + >; /** - * @see https://developer.github.com/v3/interactions/repos/#set-interaction-restrictions-for-a-repository + * @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-an-organization */ - "PUT /repos/:owner/:repo/interaction-limits": { - parameters: InteractionsSetRestrictionsForRepoEndpoint; - request: InteractionsSetRestrictionsForRepoRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/permissions/selected-actions": Operation< + "/orgs/{org}/actions/permissions/selected-actions", + "put" + >; /** - * @see https://developer.github.com/v3/issues/labels/#set-labels-for-an-issue + * @see https://docs.github.com/rest/reference/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization */ - "PUT /repos/:owner/:repo/issues/:issue_number/labels": { - parameters: IssuesSetLabelsEndpoint; - request: IssuesSetLabelsRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories", + "put" + >; /** - * @see https://developer.github.com/v3/issues/#lock-an-issue + * @see https://docs.github.com/rest/reference/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization */ - "PUT /repos/:owner/:repo/issues/:issue_number/lock": { - parameters: IssuesLockEndpoint; - request: IssuesLockRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}", + "put" + >; /** - * @see https://developer.github.com/v3/activity/notifications/#mark-repository-notifications-as-read + * @see https://docs.github.com/rest/reference/actions#set-self-hosted-runners-in-a-group-for-an-organization */ - "PUT /repos/:owner/:repo/notifications": { - parameters: ActivityMarkRepoNotificationsAsReadEndpoint; - request: ActivityMarkRepoNotificationsAsReadRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners", + "put" + >; /** - * @see https://developer.github.com/v3/repos/pages/#update-information-about-a-github-pages-site + * @see https://docs.github.com/rest/reference/actions#add-a-self-hosted-runner-to-a-group-for-an-organization */ - "PUT /repos/:owner/:repo/pages": { - parameters: ReposUpdateInformationAboutPagesSiteEndpoint; - request: ReposUpdateInformationAboutPagesSiteRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}": Operation< + "/orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}", + "put" + >; /** - * @see https://developer.github.com/v3/pulls/#merge-a-pull-request + * @see https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret */ - "PUT /repos/:owner/:repo/pulls/:pull_number/merge": { - parameters: PullsMergeEndpoint; - request: PullsMergeRequestOptions; - response: OctokitResponse< - | PullsMergeResponseData - | PullsMergeResponse405Data - | PullsMergeResponse409Data - >; - }; + "PUT /orgs/{org}/actions/secrets/{secret_name}": Operation< + "/orgs/{org}/actions/secrets/{secret_name}", + "put" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#update-a-review-for-a-pull-request + * @see https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret */ - "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id": { - parameters: PullsUpdateReviewEndpoint; - request: PullsUpdateReviewRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories": Operation< + "/orgs/{org}/actions/secrets/{secret_name}/repositories", + "put" + >; /** - * @see https://developer.github.com/v3/pulls/reviews/#dismiss-a-review-for-a-pull-request + * @see https://docs.github.com/rest/reference/actions#add-selected-repository-to-an-organization-secret */ - "PUT /repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals": { - parameters: PullsDismissReviewEndpoint; - request: PullsDismissReviewRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}": Operation< + "/orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", + "put" + >; /** - * @see https://developer.github.com/v3/pulls/#update-a-pull-request-branch + * @see https://docs.github.com/rest/reference/orgs#block-a-user-from-an-organization */ - "PUT /repos/:owner/:repo/pulls/:pull_number/update-branch": { - parameters: PullsUpdateBranchEndpoint; - request: PullsUpdateBranchRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/blocks/{username}": Operation< + "/orgs/{org}/blocks/{username}", + "put" + >; /** - * @see https://developer.github.com/v3/activity/watching/#set-a-repository-subscription + * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-an-organization */ - "PUT /repos/:owner/:repo/subscription": { - parameters: ActivitySetRepoSubscriptionEndpoint; - request: ActivitySetRepoSubscriptionRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/interaction-limits": Operation< + "/orgs/{org}/interaction-limits", + "put" + >; /** - * @see https://developer.github.com/v3/repos/#replace-all-repository-topics + * @see https://docs.github.com/rest/reference/orgs#set-organization-membership-for-a-user */ - "PUT /repos/:owner/:repo/topics": { - parameters: ReposReplaceAllTopicsEndpoint; - request: ReposReplaceAllTopicsRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/memberships/{username}": Operation< + "/orgs/{org}/memberships/{username}", + "put" + >; /** - * @see https://developer.github.com/v3/repos/#enable-vulnerability-alerts + * @see https://docs.github.com/rest/reference/orgs#convert-an-organization-member-to-outside-collaborator */ - "PUT /repos/:owner/:repo/vulnerability-alerts": { - parameters: ReposEnableVulnerabilityAlertsEndpoint; - request: ReposEnableVulnerabilityAlertsRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/outside_collaborators/{username}": Operation< + "/orgs/{org}/outside_collaborators/{username}", + "put" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-group + * @see https://docs.github.com/rest/reference/orgs#set-public-organization-membership-for-the-authenticated-user */ - "PUT /scim/v2/enterprises/:enterprise/Groups/:scim_group_id": { - parameters: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint; - request: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions; - response: OctokitResponse< - EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData - >; - }; + "PUT /orgs/{org}/public_members/{username}": Operation< + "/orgs/{org}/public_members/{username}", + "put" + >; /** - * @see https://developer.github.com/v3/enterprise-admin/scim/#set-scim-information-for-a-provisioned-enterprise-user + * @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user */ - "PUT /scim/v2/enterprises/:enterprise/Users/:scim_user_id": { - parameters: EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint; - request: EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions; - response: OctokitResponse< - EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData - >; - }; + "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}": Operation< + "/orgs/{org}/teams/{team_slug}/memberships/{username}", + "put" + >; /** - * @see https://developer.github.com/v3/scim/#set-scim-information-for-a-provisioned-user + * @see https://docs.github.com/v3/teams/#add-or-update-team-project-permissions */ - "PUT /scim/v2/organizations/:org/Users/:scim_user_id": { - parameters: ScimSetInformationForProvisionedUserEndpoint; - request: ScimSetInformationForProvisionedUserRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}": Operation< + "/orgs/{org}/teams/{team_slug}/projects/{project_id}", + "put", + "inertia" + >; /** - * @see https://developer.github.com/v3/teams/members/#add-team-member-legacy + * @see https://docs.github.com/v3/teams/#add-or-update-team-repository-permissions */ - "PUT /teams/:team_id/members/:username": { - parameters: TeamsAddMemberLegacyEndpoint; - request: TeamsAddMemberLegacyRequestOptions; - response: OctokitResponse; - }; + "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}": Operation< + "/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}", + "put" + >; /** - * @see https://developer.github.com/v3/teams/members/#add-or-update-team-membership-for-a-user-legacy + * @see https://docs.github.com/rest/reference/projects#add-project-collaborator */ - "PUT /teams/:team_id/memberships/:username": { - parameters: TeamsAddOrUpdateMembershipForUserLegacyEndpoint; - request: TeamsAddOrUpdateMembershipForUserLegacyRequestOptions; - response: OctokitResponse< - | TeamsAddOrUpdateMembershipForUserLegacyResponseData - | TeamsAddOrUpdateMembershipForUserLegacyResponse422Data - >; - }; + "PUT /projects/{project_id}/collaborators/{username}": Operation< + "/projects/{project_id}/collaborators/{username}", + "put", + "inertia" + >; /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-project-permissions-legacy + * @see https://docs.github.com/rest/reference/actions#set-github-actions-permissions-for-a-repository */ - "PUT /teams/:team_id/projects/:project_id": { - parameters: TeamsAddOrUpdateProjectPermissionsLegacyEndpoint; - request: TeamsAddOrUpdateProjectPermissionsLegacyRequestOptions; - response: OctokitResponse< - TeamsAddOrUpdateProjectPermissionsLegacyResponseData - >; - }; + "PUT /repos/{owner}/{repo}/actions/permissions": Operation< + "/repos/{owner}/{repo}/actions/permissions", + "put" + >; /** - * @see https://developer.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy + * @see https://docs.github.com/rest/reference/actions#set-allowed-actions-for-a-repository */ - "PUT /teams/:team_id/repos/:owner/:repo": { - parameters: TeamsAddOrUpdateRepoPermissionsLegacyEndpoint; - request: TeamsAddOrUpdateRepoPermissionsLegacyRequestOptions; - response: OctokitResponse; - }; + "PUT /repos/{owner}/{repo}/actions/permissions/selected-actions": Operation< + "/repos/{owner}/{repo}/actions/permissions/selected-actions", + "put" + >; /** - * @see https://developer.github.com/v3/users/blocking/#block-a-user + * @see https://docs.github.com/rest/reference/actions#create-or-update-a-repository-secret */ - "PUT /user/blocks/:username": { - parameters: UsersBlockEndpoint; - request: UsersBlockRequestOptions; - response: OctokitResponse; - }; + "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}": Operation< + "/repos/{owner}/{repo}/actions/secrets/{secret_name}", + "put" + >; /** - * @see https://developer.github.com/v3/users/followers/#follow-a-user + * @see https://docs.github.com/rest/reference/actions#disable-a-workflow */ - "PUT /user/following/:username": { - parameters: UsersFollowEndpoint; - request: UsersFollowRequestOptions; - response: OctokitResponse; - }; + "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable": Operation< + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable", + "put" + >; /** - * @see https://developer.github.com/v3/apps/installations/#add-a-repository-to-an-app-installation + * @see https://docs.github.com/rest/reference/actions#enable-a-workflow */ - "PUT /user/installations/:installation_id/repositories/:repository_id": { - parameters: AppsAddRepoToInstallationEndpoint; - request: AppsAddRepoToInstallationRequestOptions; - response: OctokitResponse; - }; + "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable": Operation< + "/repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable", + "put" + >; /** - * @see https://developer.github.com/v3/activity/starring/#star-a-repository-for-the-authenticated-user + * @see https://docs.github.com/v3/repos/#enable-automated-security-fixes */ - "PUT /user/starred/:owner/:repo": { - parameters: ActivityStarRepoForAuthenticatedUserEndpoint; - request: ActivityStarRepoForAuthenticatedUserRequestOptions; - response: OctokitResponse; - }; -} - -type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = { - org: string; + "PUT /repos/{owner}/{repo}/automated-security-fixes": Operation< + "/repos/{owner}/{repo}/automated-security-fixes", + "put", + "london" + >; /** - * Unique identifier of the self-hosted runner group. + * @see https://docs.github.com/rest/reference/repos#update-branch-protection */ - runner_group_id: number; - - repository_id: number; -}; - -type ActionsAddRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsAddSelectedRepoToOrgSecretEndpoint = { - org: string; - - secret_name: string; - - repository_id: number; -}; - -type ActionsAddSelectedRepoToOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsAddSelfHostedRunnerToGroupForOrgEndpoint = { - org: string; + "PUT /repos/{owner}/{repo}/branches/{branch}/protection": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection", + "put" + >; /** - * Unique identifier of the self-hosted runner group. + * @see https://docs.github.com/rest/reference/repos#set-status-check-contexts */ - runner_group_id: number; + "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", + "put" + >; /** - * Unique identifier of the self-hosted runner. + * @see https://docs.github.com/rest/reference/repos#set-app-access-restrictions */ - runner_id: number; -}; - -type ActionsAddSelfHostedRunnerToGroupForOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsCancelWorkflowRunEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsCancelWorkflowRunRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runs/:run_id/cancel"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsCreateOrUpdateOrgSecretEndpoint = { - org: string; - - secret_name: string; + "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", + "put" + >; /** - * Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://developer.github.com/v3/actions/secrets/#get-an-organization-public-key) endpoint. + * @see https://docs.github.com/rest/reference/repos#set-team-access-restrictions */ - encrypted_value?: string; + "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", + "put" + >; /** - * ID of the key you used to encrypt the secret. + * @see https://docs.github.com/rest/reference/repos#set-user-access-restrictions */ - key_id?: string; + "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users": Operation< + "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", + "put" + >; /** - * Configures the access that repositories have to the organization secret. Can be one of: - * \- `all` - All repositories in an organization can access the secret. - * \- `private` - Private repositories in an organization can access the secret. - * \- `selected` - Only specific repositories can access the secret. + * @see https://docs.github.com/rest/reference/repos#add-a-repository-collaborator */ - visibility?: "all" | "private" | "selected"; + "PUT /repos/{owner}/{repo}/collaborators/{username}": Operation< + "/repos/{owner}/{repo}/collaborators/{username}", + "put" + >; /** - * An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints. + * @see https://docs.github.com/rest/reference/repos#create-or-update-file-contents */ - selected_repository_ids?: number[]; -}; - -type ActionsCreateOrUpdateOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsCreateOrUpdateRepoSecretEndpoint = { - owner: string; - - repo: string; - - secret_name: string; + "PUT /repos/{owner}/{repo}/contents/{path}": Operation< + "/repos/{owner}/{repo}/contents/{path}", + "put" + >; /** - * Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get a repository public key](https://developer.github.com/v3/actions/secrets/#get-a-repository-public-key) endpoint. + * @see https://docs.github.com/rest/reference/migrations#start-an-import */ - encrypted_value?: string; + "PUT /repos/{owner}/{repo}/import": Operation< + "/repos/{owner}/{repo}/import", + "put" + >; /** - * ID of the key you used to encrypt the secret. + * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-a-repository */ - key_id?: string; -}; - -type ActionsCreateOrUpdateRepoSecretRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsCreateRegistrationTokenForOrgEndpoint = { - org: string; -}; - -type ActionsCreateRegistrationTokenForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsCreateRegistrationTokenForOrgResponseData { - token: string; - expires_at: string; -} - -type ActionsCreateRegistrationTokenForRepoEndpoint = { - owner: string; - - repo: string; -}; - -type ActionsCreateRegistrationTokenForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsCreateRegistrationTokenForRepoResponseData { - token: string; - expires_at: string; -} - -type ActionsCreateRemoveTokenForOrgEndpoint = { - org: string; -}; - -type ActionsCreateRemoveTokenForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsCreateRemoveTokenForOrgResponseData { - token: string; - expires_at: string; -} - -type ActionsCreateRemoveTokenForRepoEndpoint = { - owner: string; - - repo: string; -}; - -type ActionsCreateRemoveTokenForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsCreateRemoveTokenForRepoResponseData { - token: string; - expires_at: string; -} - -type ActionsCreateSelfHostedRunnerGroupForOrgEndpoint = { - org: string; + "PUT /repos/{owner}/{repo}/interaction-limits": Operation< + "/repos/{owner}/{repo}/interaction-limits", + "put" + >; /** - * Name of the runner group. + * @see https://docs.github.com/rest/reference/issues#set-labels-for-an-issue */ - name: string; + "PUT /repos/{owner}/{repo}/issues/{issue_number}/labels": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/labels", + "put" + >; /** - * Visibility of a runner group. You can select all repositories, select individual repositories, or limit access to private repositories. Can be one of: `all`, `selected`, or `private`. + * @see https://docs.github.com/v3/issues/#lock-an-issue */ - visibility?: "selected" | "all" | "private"; + "PUT /repos/{owner}/{repo}/issues/{issue_number}/lock": Operation< + "/repos/{owner}/{repo}/issues/{issue_number}/lock", + "put" + >; /** - * List of repository IDs that can access the runner group. + * @see https://docs.github.com/rest/reference/activity#mark-repository-notifications-as-read */ - selected_repository_ids?: number[]; + "PUT /repos/{owner}/{repo}/notifications": Operation< + "/repos/{owner}/{repo}/notifications", + "put" + >; /** - * List of runner IDs to add to the runner group. + * @see https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site */ - runners?: number[]; -}; - -type ActionsCreateSelfHostedRunnerGroupForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/actions/runner-groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsCreateSelfHostedRunnerGroupForOrgResponseData { - id: number; - name: string; - visibility: string; - default: boolean; - selected_repositories_url: string; - runners_url: string; - inherited: boolean; -} - -type ActionsCreateWorkflowDispatchEndpoint = { - owner: string; - - repo: string; - - workflow_id: number; + "PUT /repos/{owner}/{repo}/pages": Operation< + "/repos/{owner}/{repo}/pages", + "put" + >; /** - * The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. + * @see https://docs.github.com/v3/pulls/#merge-a-pull-request */ - ref: string; + "PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/merge", + "put" + >; /** - * Input keys and values configured in the workflow file. The maximum number of properties is 10. + * @see https://docs.github.com/rest/reference/pulls#update-a-review-for-a-pull-request */ - inputs?: ActionsCreateWorkflowDispatchParamsInputs; -}; - -type ActionsCreateWorkflowDispatchRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/dispatches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteArtifactEndpoint = { - owner: string; - - repo: string; - - artifact_id: number; -}; - -type ActionsDeleteArtifactRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteOrgSecretEndpoint = { - org: string; - - secret_name: string; -}; - -type ActionsDeleteOrgSecretRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteRepoSecretEndpoint = { - owner: string; - - repo: string; - - secret_name: string; -}; - -type ActionsDeleteRepoSecretRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteSelfHostedRunnerFromOrgEndpoint = { - org: string; + "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}", + "put" + >; /** - * Unique identifier of the self-hosted runner. + * @see https://docs.github.com/rest/reference/pulls#dismiss-a-review-for-a-pull-request */ - runner_id: number; -}; - -type ActionsDeleteSelfHostedRunnerFromOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteSelfHostedRunnerFromRepoEndpoint = { - owner: string; - - repo: string; + "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals", + "put" + >; /** - * Unique identifier of the self-hosted runner. + * @see https://docs.github.com/v3/pulls/#update-a-pull-request-branch */ - runner_id: number; -}; - -type ActionsDeleteSelfHostedRunnerFromRepoRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteSelfHostedRunnerGroupFromOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; -}; - -type ActionsDeleteSelfHostedRunnerGroupFromOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteWorkflowRunEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsDeleteWorkflowRunRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runs/:run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDeleteWorkflowRunLogsEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsDeleteWorkflowRunLogsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/actions/runs/:run_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDownloadArtifactEndpoint = { - owner: string; - - repo: string; - - artifact_id: number; - - archive_format: string; -}; - -type ActionsDownloadArtifactRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id/:archive_format"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDownloadJobLogsForWorkflowRunEndpoint = { - owner: string; - - repo: string; - - job_id: number; -}; - -type ActionsDownloadJobLogsForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/jobs/:job_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsDownloadWorkflowRunLogsEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsDownloadWorkflowRunLogsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/logs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsGetArtifactEndpoint = { - owner: string; - - repo: string; - - artifact_id: number; -}; - -type ActionsGetArtifactRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts/:artifact_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetArtifactResponseData { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; -} - -type ActionsGetJobForWorkflowRunEndpoint = { - owner: string; - - repo: string; - - job_id: number; -}; - -type ActionsGetJobForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/jobs/:job_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetJobForWorkflowRunResponseData { - id: number; - run_id: number; - run_url: string; - node_id: string; - head_sha: string; - url: string; - html_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - name: string; - steps: { - name: string; - status: string; - conclusion: string; - number: number; - started_at: string; - completed_at: string; - }[]; - check_run_url: string; -} - -type ActionsGetOrgPublicKeyEndpoint = { - org: string; -}; - -type ActionsGetOrgPublicKeyRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/public-key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetOrgPublicKeyResponseData { - key_id: string; - key: string; -} - -type ActionsGetOrgSecretEndpoint = { - org: string; - - secret_name: string; -}; - -type ActionsGetOrgSecretRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetOrgSecretResponseData { - name: string; - created_at: string; - updated_at: string; - visibility: string; - selected_repositories_url: string; -} - -type ActionsGetRepoPublicKeyEndpoint = { - owner: string; - - repo: string; -}; - -type ActionsGetRepoPublicKeyRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets/public-key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetRepoPublicKeyResponseData { - key_id: string; - key: string; -} - -type ActionsGetRepoSecretEndpoint = { - owner: string; - - repo: string; - - secret_name: string; -}; - -type ActionsGetRepoSecretRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets/:secret_name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetRepoSecretResponseData { - name: string; - created_at: string; - updated_at: string; -} - -type ActionsGetSelfHostedRunnerForOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type ActionsGetSelfHostedRunnerForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetSelfHostedRunnerForOrgResponseData { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; -} - -type ActionsGetSelfHostedRunnerForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type ActionsGetSelfHostedRunnerForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetSelfHostedRunnerForRepoResponseData { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; -} - -type ActionsGetSelfHostedRunnerGroupForOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; -}; - -type ActionsGetSelfHostedRunnerGroupForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetSelfHostedRunnerGroupForOrgResponseData { - id: number; - name: string; - visibility: string; - default: boolean; - selected_repositories_url: string; - runners_url: string; - inherited: boolean; -} - -type ActionsGetWorkflowEndpoint = { - owner: string; - - repo: string; - - workflow_id: number; -}; - -type ActionsGetWorkflowRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetWorkflowResponseData { - id: number; - node_id: string; - name: string; - path: string; - state: string; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; -} - -type ActionsGetWorkflowRunEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsGetWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetWorkflowRunResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; -} - -type ActionsGetWorkflowRunUsageEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsGetWorkflowRunUsageRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/timing"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetWorkflowRunUsageResponseData { - billable: { - UBUNTU: { - total_ms: number; - jobs: number; - }; - MACOS: { - total_ms: number; - jobs: number; - }; - WINDOWS: { - total_ms: number; - jobs: number; - }; - }; - run_duration_ms: number; -} - -type ActionsGetWorkflowUsageEndpoint = { - owner: string; - - repo: string; - - workflow_id: number; -}; - -type ActionsGetWorkflowUsageRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/timing"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsGetWorkflowUsageResponseData { - billable: { - UBUNTU: { - total_ms: number; - }; - MACOS: { - total_ms: number; - }; - WINDOWS: { - total_ms: number; - }; - }; -} - -type ActionsListArtifactsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListArtifactsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/artifacts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListArtifactsForRepoResponseData { - total_count: number; - artifacts: { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; - }[]; -} - -type ActionsListJobsForWorkflowRunEndpoint = { - owner: string; - - repo: string; - - run_id: number; - /** - * Filters jobs by their `completed_at` timestamp. Can be one of: - * \* `latest`: Returns jobs from the most recent execution of the workflow run. - * \* `all`: Returns all jobs for a workflow run, including from old executions of the workflow run. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListJobsForWorkflowRunRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/jobs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListJobsForWorkflowRunResponseData { - total_count: number; - jobs: { - id: number; - run_id: number; - run_url: string; - node_id: string; - head_sha: string; - url: string; - html_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - name: string; - steps: { - name: string; - status: string; - conclusion: string; - number: number; - started_at: string; - completed_at: string; - }[]; - check_run_url: string; - }[]; -} - -type ActionsListOrgSecretsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListOrgSecretsRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListOrgSecretsResponseData { - total_count: number; - secrets: { - name: string; - created_at: string; - updated_at: string; - visibility: string; - selected_repositories_url: string; - }[]; -} - -type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; -}; - -type ActionsListRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListRepoAccessToSelfHostedRunnerGroupInOrgResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} - -type ActionsListRepoSecretsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListRepoSecretsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/secrets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListRepoSecretsResponseData { - total_count: number; - secrets: { - name: string; - created_at: string; - updated_at: string; - }[]; -} - -type ActionsListRepoWorkflowsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListRepoWorkflowsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListRepoWorkflowsResponseData { - total_count: number; - workflows: { - id: number; - node_id: string; - name: string; - path: string; - state: string; - created_at: string; - updated_at: string; - url: string; - html_url: string; - badge_url: string; - }[]; -} - -type ActionsListRunnerApplicationsForOrgEndpoint = { - org: string; -}; - -type ActionsListRunnerApplicationsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActionsListRunnerApplicationsForOrgResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; - -type ActionsListRunnerApplicationsForRepoEndpoint = { - owner: string; - - repo: string; -}; - -type ActionsListRunnerApplicationsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActionsListRunnerApplicationsForRepoResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; - -type ActionsListSelectedReposForOrgSecretEndpoint = { - org: string; - - secret_name: string; -}; - -type ActionsListSelectedReposForOrgSecretRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListSelectedReposForOrgSecretResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }[]; -} - -type ActionsListSelfHostedRunnerGroupsForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListSelfHostedRunnerGroupsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runner-groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListSelfHostedRunnerGroupsForOrgResponseData { - total_count: number; - runner_groups: { - id: number; - name: string; - visibility: string; - default: boolean; - selected_repositories_url: string; - runners_url: string; - inherited: boolean; - }[]; -} - -type ActionsListSelfHostedRunnersForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListSelfHostedRunnersForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListSelfHostedRunnersForOrgResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; - }[]; -} - -type ActionsListSelfHostedRunnersForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListSelfHostedRunnersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListSelfHostedRunnersForRepoResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; - }[]; -} - -type ActionsListSelfHostedRunnersInGroupForOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListSelfHostedRunnersInGroupForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListSelfHostedRunnersInGroupForOrgResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; - }[]; -} - -type ActionsListWorkflowRunArtifactsEndpoint = { - owner: string; - - repo: string; - - run_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListWorkflowRunArtifactsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs/:run_id/artifacts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListWorkflowRunArtifactsResponseData { - total_count: number; - artifacts: { - id: number; - node_id: string; - name: string; - size_in_bytes: number; - url: string; - archive_download_url: string; - expired: boolean; - created_at: string; - expires_at: string; - }[]; -} - -type ActionsListWorkflowRunsEndpoint = { - owner: string; - - repo: string; - - workflow_id: number; - /** - * Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. - */ - actor?: string; - /** - * Returns workflow runs associated with a branch. Use the name of the branch of the `push`. - */ - branch?: string; - /** - * Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." - */ - event?: string; - /** - * Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in "[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run)." - */ - status?: "completed" | "status" | "conclusion"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListWorkflowRunsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/workflows/:workflow_id/runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListWorkflowRunsResponseData { - total_count: number; - workflow_runs: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - }[]; -} - -type ActionsListWorkflowRunsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. - */ - actor?: string; - /** - * Returns workflow runs associated with a branch. Use the name of the branch of the `push`. - */ - branch?: string; - /** - * Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." - */ - event?: string; - /** - * Returns workflow runs associated with the check run `status` or `conclusion` you specify. For example, a conclusion can be `success` or a status can be `completed`. For more information, see the `status` and `conclusion` options available in "[Create a check run](https://developer.github.com/v3/checks/runs/#create-a-check-run)." - */ - status?: "completed" | "status" | "conclusion"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActionsListWorkflowRunsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/actions/runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsListWorkflowRunsForRepoResponseData { - total_count: number; - workflow_runs: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - run_number: number; - event: string; - status: string; - conclusion: string; - workflow_id: number; - url: string; - html_url: string; - pull_requests: unknown[]; - created_at: string; - updated_at: string; - jobs_url: string; - logs_url: string; - check_suite_url: string; - artifacts_url: string; - cancel_url: string; - rerun_url: string; - workflow_url: string; - head_commit: { - id: string; - tree_id: string; - message: string; - timestamp: string; - author: { - name: string; - email: string; - }; - committer: { - name: string; - email: string; - }; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - head_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - private: boolean; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - }[]; -} - -type ActionsReRunWorkflowEndpoint = { - owner: string; - - repo: string; - - run_id: number; -}; - -type ActionsReRunWorkflowRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/actions/runs/:run_id/rerun"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - - repository_id: number; -}; - -type ActionsRemoveRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsRemoveSelectedRepoFromOrgSecretEndpoint = { - org: string; - - secret_name: string; - - repository_id: number; -}; - -type ActionsRemoveSelectedRepoFromOrgSecretRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsRemoveSelfHostedRunnerFromGroupForOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type ActionsRemoveSelfHostedRunnerFromGroupForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * List of repository IDs that can access the runner group. - */ - selected_repository_ids: number[]; -}; - -type ActionsSetRepoAccessToSelfHostedRunnerGroupInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsSetSelectedReposForOrgSecretEndpoint = { - org: string; - - secret_name: string; - /** - * An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://developer.github.com/v3/actions/secrets/#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://developer.github.com/v3/actions/secrets/#remove-selected-repository-from-an-organization-secret) endpoints. - */ - selected_repository_ids?: number[]; -}; - -type ActionsSetSelectedReposForOrgSecretRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/secrets/:secret_name/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsSetSelfHostedRunnersInGroupForOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * List of runner IDs to add to the runner group. - */ - runners: number[]; -}; - -type ActionsSetSelfHostedRunnersInGroupForOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActionsUpdateSelfHostedRunnerGroupForOrgEndpoint = { - org: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Name of the runner group. - */ - name?: string; - /** - * Visibility of a runner group. You can select all repositories, select individual repositories, or all private repositories. Can be one of: `all`, `selected`, or `private`. - */ - visibility?: "selected" | "all" | "private"; -}; - -type ActionsUpdateSelfHostedRunnerGroupForOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/actions/runner-groups/:runner_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActionsUpdateSelfHostedRunnerGroupForOrgResponseData { - id: number; - name: string; - visibility: string; - default: boolean; - selected_repositories_url: string; - runners_url: string; - inherited: boolean; -} - -type ActivityCheckRepoIsStarredByAuthenticatedUserEndpoint = { - owner: string; - - repo: string; -}; - -type ActivityCheckRepoIsStarredByAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityDeleteRepoSubscriptionEndpoint = { - owner: string; - - repo: string; -}; - -type ActivityDeleteRepoSubscriptionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityDeleteThreadSubscriptionEndpoint = { - thread_id: number; -}; - -type ActivityDeleteThreadSubscriptionRequestOptions = { - method: "DELETE"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityGetFeedsEndpoint = {}; - -type ActivityGetFeedsRequestOptions = { - method: "GET"; - url: "/feeds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActivityGetFeedsResponseData { - timeline_url: string; - user_url: string; - current_user_public_url: string; - current_user_url: string; - current_user_actor_url: string; - current_user_organization_url: string; - current_user_organization_urls: string[]; - security_advisories_url: string; - _links: { - timeline: { - href: string; - type: string; - }; - user: { - href: string; - type: string; - }; - current_user_public: { - href: string; - type: string; - }; - current_user: { - href: string; - type: string; - }; - current_user_actor: { - href: string; - type: string; - }; - current_user_organization: { - href: string; - type: string; - }; - current_user_organizations: { - href: string; - type: string; - }[]; - security_advisories: { - href: string; - type: string; - }; - }; -} - -type ActivityGetRepoSubscriptionEndpoint = { - owner: string; - - repo: string; -}; - -type ActivityGetRepoSubscriptionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActivityGetRepoSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - repository_url: string; -} - -type ActivityGetThreadEndpoint = { - thread_id: number; -}; - -type ActivityGetThreadRequestOptions = { - method: "GET"; - url: "/notifications/threads/:thread_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActivityGetThreadResponseData { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -} - -type ActivityGetThreadSubscriptionForAuthenticatedUserEndpoint = { - thread_id: number; -}; - -type ActivityGetThreadSubscriptionForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActivityGetThreadSubscriptionForAuthenticatedUserResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - thread_url: string; -} - -type ActivityListEventsForAuthenticatedUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListEventsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/users/:username/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListNotificationsForAuthenticatedUserEndpoint = { - /** - * If `true`, show notifications marked as read. - */ - all?: boolean; - /** - * If `true`, only shows notifications in which the user is directly participating or mentioned. - */ - participating?: boolean; - /** - * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - before?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListNotificationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListNotificationsForAuthenticatedUserResponseData = { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -}[]; - -type ActivityListOrgEventsForAuthenticatedUserEndpoint = { - username: string; - - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListOrgEventsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/users/:username/events/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListPublicEventsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListPublicEventsRequestOptions = { - method: "GET"; - url: "/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListPublicEventsForRepoNetworkEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListPublicEventsForRepoNetworkRequestOptions = { - method: "GET"; - url: "/networks/:owner/:repo/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListPublicEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListPublicEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/events/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListPublicOrgEventsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListPublicOrgEventsRequestOptions = { - method: "GET"; - url: "/orgs/:org/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListReceivedEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListReceivedEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/received_events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListReceivedPublicEventsForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListReceivedPublicEventsForUserRequestOptions = { - method: "GET"; - url: "/users/:username/received_events/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListRepoEventsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListRepoEventsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityListRepoNotificationsForAuthenticatedUserEndpoint = { - owner: string; - - repo: string; - /** - * If `true`, show notifications marked as read. - */ - all?: boolean; - /** - * If `true`, only shows notifications in which the user is directly participating or mentioned. - */ - participating?: boolean; - /** - * Only show notifications updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - before?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListRepoNotificationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListRepoNotificationsForAuthenticatedUserResponseData = { - id: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - subject: { - title: string; - url: string; - latest_comment_url: string; - type: string; - }; - reason: string; - unread: boolean; - updated_at: string; - last_read_at: string; - url: string; -}[]; - -type ActivityListReposStarredByAuthenticatedUserEndpoint = { - /** - * One of `created` (when the repository was starred) or `updated` (when it was last pushed to). - */ - sort?: "created" | "updated"; - /** - * One of `asc` (ascending) or `desc` (descending). - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListReposStarredByAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListReposStarredByAuthenticatedUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -}[]; - -export type ActivityListReposStarredByAuthenticatedUserResponse200Data = { - starred_at: string; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; - -type ActivityListReposStarredByUserEndpoint = { - username: string; - /** - * One of `created` (when the repository was starred) or `updated` (when it was last pushed to). - */ - sort?: "created" | "updated"; - /** - * One of `asc` (ascending) or `desc` (descending). - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListReposStarredByUserRequestOptions = { - method: "GET"; - url: "/users/:username/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListReposStarredByUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -}[]; - -export type ActivityListReposStarredByUserResponse200Data = { - starred_at: string; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; - -type ActivityListReposWatchedByUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListReposWatchedByUserRequestOptions = { - method: "GET"; - url: "/users/:username/subscriptions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListReposWatchedByUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type ActivityListStargazersForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListStargazersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stargazers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListStargazersForRepoResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -export type ActivityListStargazersForRepoResponse200Data = { - starred_at: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; - -type ActivityListWatchedReposForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListWatchedReposForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/subscriptions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListWatchedReposForAuthenticatedUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type ActivityListWatchersForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ActivityListWatchersForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/subscribers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ActivityListWatchersForRepoResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type ActivityMarkNotificationsAsReadEndpoint = { - /** - * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. - */ - last_read_at?: string; -}; - -type ActivityMarkNotificationsAsReadRequestOptions = { - method: "PUT"; - url: "/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityMarkRepoNotificationsAsReadEndpoint = { - owner: string; - - repo: string; - /** - * Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. - */ - last_read_at?: string; -}; - -type ActivityMarkRepoNotificationsAsReadRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/notifications"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityMarkThreadAsReadEndpoint = { - thread_id: number; -}; - -type ActivityMarkThreadAsReadRequestOptions = { - method: "PATCH"; - url: "/notifications/threads/:thread_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivitySetRepoSubscriptionEndpoint = { - owner: string; - - repo: string; - /** - * Determines if notifications should be received from this repository. - */ - subscribed?: boolean; - /** - * Determines if all notifications should be blocked from this repository. - */ - ignored?: boolean; -}; - -type ActivitySetRepoSubscriptionRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActivitySetRepoSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - repository_url: string; -} - -type ActivitySetThreadSubscriptionEndpoint = { - thread_id: number; - /** - * Unsubscribes and subscribes you to a conversation. Set `ignored` to `true` to block all notifications from this thread. - */ - ignored?: boolean; -}; - -type ActivitySetThreadSubscriptionRequestOptions = { - method: "PUT"; - url: "/notifications/threads/:thread_id/subscription"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ActivitySetThreadSubscriptionResponseData { - subscribed: boolean; - ignored: boolean; - reason: string; - created_at: string; - url: string; - thread_url: string; -} - -type ActivityStarRepoForAuthenticatedUserEndpoint = { - owner: string; - - repo: string; -}; - -type ActivityStarRepoForAuthenticatedUserRequestOptions = { - method: "PUT"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ActivityUnstarRepoForAuthenticatedUserEndpoint = { - owner: string; - - repo: string; -}; - -type ActivityUnstarRepoForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/starred/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsAddRepoToInstallationEndpoint = { - installation_id: number; - - repository_id: number; -}; - -type AppsAddRepoToInstallationRequestOptions = { - method: "PUT"; - url: "/user/installations/:installation_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsCheckAuthorizationEndpoint = { - client_id: string; - - access_token: string; -}; - -type AppsCheckAuthorizationRequestOptions = { - method: "GET"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsCheckAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type AppsCheckTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; - -type AppsCheckTokenRequestOptions = { - method: "POST"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsCheckTokenResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type AppsCreateContentAttachmentEndpoint = { - content_reference_id: number; - /** - * The title of the content attachment displayed in the body or comment of an issue or pull request. - */ - title: string; - /** - * The body text of the content attachment displayed in the body or comment of an issue or pull request. This parameter supports markdown. - */ - body: string; -} & RequiredPreview<"corsair">; - -type AppsCreateContentAttachmentRequestOptions = { - method: "POST"; - url: "/content_references/:content_reference_id/attachments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsCreateContentAttachmentResponseData { - id: number; - title: string; - body: string; -} - -type AppsCreateFromManifestEndpoint = { - code: string; -}; - -type AppsCreateFromManifestRequestOptions = { - method: "POST"; - url: "/app-manifests/:code/conversions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsCreateFromManifestResponseData { - id: number; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - client_id: string; - client_secret: string; - webhook_secret: string; - pem: string; -} - -type AppsCreateInstallationAccessTokenEndpoint = { - installation_id: number; - /** - * The `id`s of the repositories that the installation token can access. Providing repository `id`s restricts the access of an installation token to specific repositories. You can use the "[List repositories accessible to the app installation](https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation)" endpoint to get the `id` of all repositories that an installation can access. For example, you can select specific repositories when creating an installation token to restrict the number of repositories that can be cloned using the token. - */ - repository_ids?: number[]; - /** - * The permissions granted to the access token. The permissions object includes the permission names and their access type. For a complete list of permissions and allowable values, see "[GitHub App permissions](https://developer.github.com/apps/building-github-apps/creating-github-apps-using-url-parameters/#github-app-permissions)." - */ - permissions?: AppsCreateInstallationAccessTokenParamsPermissions; -}; - -type AppsCreateInstallationAccessTokenRequestOptions = { - method: "POST"; - url: "/app/installations/:installation_id/access_tokens"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsCreateInstallationAccessTokenResponseData { - token: string; - expires_at: string; - permissions: { - issues: string; - contents: string; - }; - repository_selection: "all" | "selected"; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} - -type AppsDeleteAuthorizationEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; - -type AppsDeleteAuthorizationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/grant"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsDeleteInstallationEndpoint = { - installation_id: number; -}; - -type AppsDeleteInstallationRequestOptions = { - method: "DELETE"; - url: "/app/installations/:installation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsDeleteTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; - -type AppsDeleteTokenRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsGetAuthenticatedEndpoint = {}; - -type AppsGetAuthenticatedRequestOptions = { - method: "GET"; - url: "/app"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetAuthenticatedResponseData { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - installations_count: number; -} - -type AppsGetBySlugEndpoint = { - app_slug: string; -}; - -type AppsGetBySlugRequestOptions = { - method: "GET"; - url: "/apps/:app_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetBySlugResponseData { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -} - -type AppsGetInstallationEndpoint = { - installation_id: number; -}; - -type AppsGetInstallationRequestOptions = { - method: "GET"; - url: "/app/installations/:installation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - repository_selection: "all" | "selected"; -} - -type AppsGetOrgInstallationEndpoint = { - org: string; -}; - -type AppsGetOrgInstallationRequestOptions = { - method: "GET"; - url: "/orgs/:org/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetOrgInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} - -type AppsGetRepoInstallationEndpoint = { - owner: string; - - repo: string; -}; - -type AppsGetRepoInstallationRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetRepoInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} - -type AppsGetSubscriptionPlanForAccountEndpoint = { - account_id: number; -}; - -type AppsGetSubscriptionPlanForAccountRequestOptions = { - method: "GET"; - url: "/marketplace_listing/accounts/:account_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetSubscriptionPlanForAccountResponseData { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -} - -type AppsGetSubscriptionPlanForAccountStubbedEndpoint = { - account_id: number; -}; - -type AppsGetSubscriptionPlanForAccountStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/accounts/:account_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetSubscriptionPlanForAccountStubbedResponseData { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -} - -type AppsGetUserInstallationEndpoint = { - username: string; -}; - -type AppsGetUserInstallationRequestOptions = { - method: "GET"; - url: "/users/:username/installation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsGetUserInstallationResponseData { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; -} - -type AppsListAccountsForPlanEndpoint = { - plan_id: number; - /** - * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListAccountsForPlanRequestOptions = { - method: "GET"; - url: "/marketplace_listing/plans/:plan_id/accounts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListAccountsForPlanResponseData = { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -}[]; - -type AppsListAccountsForPlanStubbedEndpoint = { - plan_id: number; - /** - * Sorts the GitHub accounts by the date they were created or last updated. Can be one of `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * To return the oldest accounts first, set to `asc`. Can be one of `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListAccountsForPlanStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/plans/:plan_id/accounts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListAccountsForPlanStubbedResponseData = { - url: string; - type: string; - id: number; - login: string; - email: string; - organization_billing_email: string; - marketplace_pending_change: { - effective_date: string; - unit_count: number; - id: number; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - state: string; - unit_name: string; - bullets: string[]; - }; - }; - marketplace_purchase: { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; - }; -}[]; - -type AppsListInstallationReposForAuthenticatedUserEndpoint = { - installation_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListInstallationReposForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/installations/:installation_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsListInstallationReposForAuthenticatedUserResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} - -type AppsListInstallationsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListInstallationsRequestOptions = { - method: "GET"; - url: "/app/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListInstallationsResponseData = { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - repository_selection: "all" | "selected"; -}[]; - -type AppsListInstallationsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListInstallationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsListInstallationsForAuthenticatedUserResponseData { - total_count: number; - installations: { - id: number; - account: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - gravatar_id: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - checks: string; - metadata: string; - contents: string; - }; - events: string[]; - single_file_name: string; - }[]; -} - -type AppsListPlansEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListPlansRequestOptions = { - method: "GET"; - url: "/marketplace_listing/plans"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListPlansResponseData = { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; -}[]; - -type AppsListPlansStubbedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListPlansStubbedRequestOptions = { - method: "GET"; - url: "/marketplace_listing/stubbed/plans"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListPlansStubbedResponseData = { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; -}[]; - -type AppsListReposAccessibleToInstallationEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListReposAccessibleToInstallationRequestOptions = { - method: "GET"; - url: "/installation/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsListReposAccessibleToInstallationResponseData { - total_count: number; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; -} - -type AppsListSubscriptionsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListSubscriptionsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/marketplace_purchases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListSubscriptionsForAuthenticatedUserResponseData = { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - account: { - login: string; - id: number; - url: string; - email: string; - organization_billing_email: string; - type: string; - }; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; -}[]; - -type AppsListSubscriptionsForAuthenticatedUserStubbedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type AppsListSubscriptionsForAuthenticatedUserStubbedRequestOptions = { - method: "GET"; - url: "/user/marketplace_purchases/stubbed"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type AppsListSubscriptionsForAuthenticatedUserStubbedResponseData = { - billing_cycle: string; - next_billing_date: string; - unit_count: number; - on_free_trial: boolean; - free_trial_ends_on: string; - updated_at: string; - account: { - login: string; - id: number; - url: string; - email: string; - organization_billing_email: string; - type: string; - }; - plan: { - url: string; - accounts_url: string; - id: number; - number: number; - name: string; - description: string; - monthly_price_in_cents: number; - yearly_price_in_cents: number; - price_model: string; - has_free_trial: boolean; - unit_name: string; - state: string; - bullets: string[]; - }; -}[]; - -type AppsRemoveRepoFromInstallationEndpoint = { - installation_id: number; - - repository_id: number; -}; - -type AppsRemoveRepoFromInstallationRequestOptions = { - method: "DELETE"; - url: "/user/installations/:installation_id/repositories/:repository_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsResetAuthorizationEndpoint = { - client_id: string; - - access_token: string; -}; - -type AppsResetAuthorizationRequestOptions = { - method: "POST"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsResetAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type AppsResetTokenEndpoint = { - client_id: string; - /** - * The OAuth access token used to authenticate to the GitHub API. - */ - access_token?: string; -}; - -type AppsResetTokenRequestOptions = { - method: "PATCH"; - url: "/applications/:client_id/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface AppsResetTokenResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type AppsRevokeAuthorizationForApplicationEndpoint = { - client_id: string; - - access_token: string; -}; - -type AppsRevokeAuthorizationForApplicationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/tokens/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsRevokeGrantForApplicationEndpoint = { - client_id: string; - - access_token: string; -}; - -type AppsRevokeGrantForApplicationRequestOptions = { - method: "DELETE"; - url: "/applications/:client_id/grants/:access_token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsRevokeInstallationAccessTokenEndpoint = {}; - -type AppsRevokeInstallationAccessTokenRequestOptions = { - method: "DELETE"; - url: "/installation/token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsSuspendInstallationEndpoint = { - installation_id: number; -}; - -type AppsSuspendInstallationRequestOptions = { - method: "PUT"; - url: "/app/installations/:installation_id/suspended"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type AppsUnsuspendInstallationEndpoint = { - installation_id: number; -}; - -type AppsUnsuspendInstallationRequestOptions = { - method: "DELETE"; - url: "/app/installations/:installation_id/suspended"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type BillingGetGithubActionsBillingOrgEndpoint = { - org: string; -}; - -type BillingGetGithubActionsBillingOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/settings/billing/actions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface BillingGetGithubActionsBillingOrgResponseData { - /** - * The sum of the free and paid GitHub Actions minutes used. - */ - total_minutes_used: number; - /** - * The total paid GitHub Actions minutes used. - */ - total_paid_minutes_used: number; - /** - * The amount of free GitHub Actions minutes available. - */ - included_minutes: number; - minutes_used_breakdown: { - /** - * Total minutes used on Ubuntu runner machines. - */ - UBUNTU: number; - /** - * Total minutes used on macOS runner machines. - */ - MACOS: number; - /** - * Total minutes used on Windows runner machines. - */ - WINDOWS: number; - }; -} - -type BillingGetGithubActionsBillingUserEndpoint = { - username: string; -}; - -type BillingGetGithubActionsBillingUserRequestOptions = { - method: "GET"; - url: "/users/:username/settings/billing/actions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface BillingGetGithubActionsBillingUserResponseData { - /** - * The sum of the free and paid GitHub Actions minutes used. - */ - total_minutes_used: number; - /** - * The total paid GitHub Actions minutes used. - */ - total_paid_minutes_used: number; - /** - * The amount of free GitHub Actions minutes available. - */ - included_minutes: number; - minutes_used_breakdown: { - /** - * Total minutes used on Ubuntu runner machines. - */ - UBUNTU: number; - /** - * Total minutes used on macOS runner machines. - */ - MACOS: number; - /** - * Total minutes used on Windows runner machines. - */ - WINDOWS: number; - }; -} - -type BillingGetGithubPackagesBillingOrgEndpoint = { - org: string; -}; - -type BillingGetGithubPackagesBillingOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/settings/billing/packages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface BillingGetGithubPackagesBillingOrgResponseData { - /** - * Sum of the free and paid storage space (GB) for GitHuub Packages. - */ - total_gigabytes_bandwidth_used: number; - /** - * Total paid storage space (GB) for GitHuub Packages. - */ - total_paid_gigabytes_bandwidth_used: number; - /** - * Free storage space (GB) for GitHub Packages. - */ - included_gigabytes_bandwidth: number; -} - -type BillingGetGithubPackagesBillingUserEndpoint = { - username: string; -}; - -type BillingGetGithubPackagesBillingUserRequestOptions = { - method: "GET"; - url: "/users/:username/settings/billing/packages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface BillingGetGithubPackagesBillingUserResponseData { - /** - * Sum of the free and paid storage space (GB) for GitHuub Packages. - */ - total_gigabytes_bandwidth_used: number; - /** - * Total paid storage space (GB) for GitHuub Packages. - */ - total_paid_gigabytes_bandwidth_used: number; - /** - * Free storage space (GB) for GitHub Packages. - */ - included_gigabytes_bandwidth: number; -} - -type BillingGetSharedStorageBillingOrgEndpoint = { - org: string; -}; - -type BillingGetSharedStorageBillingOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/settings/billing/shared-storage"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface BillingGetSharedStorageBillingOrgResponseData { - /** - * Numbers of days left in billing cycle. - */ - days_left_in_billing_cycle: number; - /** - * Estimated storage space (GB) used in billing cycle. - */ - estimated_paid_storage_for_month: number; - /** - * Estimated sum of free and paid storage space (GB) used in billing cycle. - */ - estimated_storage_for_month: number; -} - -type BillingGetSharedStorageBillingUserEndpoint = { - username: string; -}; - -type BillingGetSharedStorageBillingUserRequestOptions = { - method: "GET"; - url: "/users/:username/settings/billing/shared-storage"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface BillingGetSharedStorageBillingUserResponseData { - /** - * Numbers of days left in billing cycle. - */ - days_left_in_billing_cycle: number; - /** - * Estimated storage space (GB) used in billing cycle. - */ - estimated_paid_storage_for_month: number; - /** - * Estimated sum of free and paid storage space (GB) used in billing cycle. - */ - estimated_storage_for_month: number; -} - -type ChecksCreateEndpoint = { - owner: string; - - repo: string; - /** - * The name of the check. For example, "code-coverage". - */ - name: string; - /** - * The SHA of the commit. - */ - head_sha: string; - /** - * The URL of the integrator's site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used. - */ - details_url?: string; - /** - * A reference for the run on the integrator's system. - */ - external_id?: string; - /** - * The current status. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * The time that the check run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. When the conclusion is `action_required`, additional details should be provided on the site specified by `details_url`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`. - */ - conclusion?: - | "success" - | "failure" - | "neutral" - | "cancelled" - | "skipped" - | "timed_out" - | "action_required"; - /** - * The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - completed_at?: string; - /** - * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object) description. - */ - output?: ChecksCreateParamsOutput; - /** - * Displays a button on GitHub that can be clicked to alert your app to do additional tasks. For example, a code linting app can display a button that automatically fixes detected errors. The button created in this object is displayed after the check run completes. When a user clicks the button, GitHub sends the [`check_run.requested_action` webhook](https://developer.github.com/webhooks/event-payloads/#check_run) to your app. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." - */ - actions?: ChecksCreateParamsActions[]; -} & RequiredPreview<"antiope">; - -type ChecksCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksCreateResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - annotations_url: string; - annotations_count: number; - text: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} - -type ChecksCreateSuiteEndpoint = { - owner: string; - - repo: string; - /** - * The sha of the head commit. - */ - head_sha: string; -} & RequiredPreview<"antiope">; - -type ChecksCreateSuiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-suites"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksCreateSuiteResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} - -type ChecksGetEndpoint = { - owner: string; - - repo: string; - - check_run_id: number; -} & RequiredPreview<"antiope">; - -type ChecksGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-runs/:check_run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksGetResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} - -type ChecksGetSuiteEndpoint = { - owner: string; - - repo: string; - - check_suite_id: number; -} & RequiredPreview<"antiope">; - -type ChecksGetSuiteRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksGetSuiteResponseData { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} - -type ChecksListAnnotationsEndpoint = { - owner: string; - - repo: string; - - check_run_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; - -type ChecksListAnnotationsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-runs/:check_run_id/annotations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ChecksListAnnotationsResponseData = { - path: string; - start_line: number; - end_line: number; - start_column: number; - end_column: number; - annotation_level: string; - title: string; - message: string; - raw_details: string; -}[]; - -type ChecksListForRefEndpoint = { - owner: string; - - repo: string; - - ref: string; - /** - * Returns check runs with the specified `name`. - */ - check_name?: string; - /** - * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; - -type ChecksListForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksListForRefResponseData { - total_count: number; - check_runs: { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; - }[]; -} - -type ChecksListForSuiteEndpoint = { - owner: string; - - repo: string; - - check_suite_id: number; - /** - * Returns check runs with the specified `name`. - */ - check_name?: string; - /** - * Returns check runs with the specified `status`. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * Filters check runs by their `completed_at` timestamp. Can be one of `latest` (returning the most recent check runs) or `all`. - */ - filter?: "latest" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; - -type ChecksListForSuiteRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id/check-runs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksListForSuiteResponseData { - total_count: number; - check_runs: { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; - }[]; -} - -type ChecksListSuitesForRefEndpoint = { - owner: string; - - repo: string; - - ref: string; - /** - * Filters check suites by GitHub App `id`. - */ - app_id?: number; - /** - * Filters checks suites by the name of the [check run](https://developer.github.com/v3/checks/runs/). - */ - check_name?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"antiope">; - -type ChecksListSuitesForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/check-suites"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksListSuitesForRefResponseData { - total_count: number; - check_suites: { - id: number; - node_id: string; - head_branch: string; - head_sha: string; - status: string; - conclusion: string; - url: string; - before: string; - after: string; - pull_requests: unknown[]; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }[]; -} - -type ChecksRerequestSuiteEndpoint = { - owner: string; - - repo: string; - - check_suite_id: number; -} & RequiredPreview<"antiope">; - -type ChecksRerequestSuiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/check-suites/:check_suite_id/rerequest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ChecksSetSuitesPreferencesEndpoint = { - owner: string; - - repo: string; - /** - * Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. See the [`auto_trigger_checks` object](https://developer.github.com/v3/checks/suites/#auto_trigger_checks-object) description for details. - */ - auto_trigger_checks?: ChecksSetSuitesPreferencesParamsAutoTriggerChecks[]; -} & RequiredPreview<"antiope">; - -type ChecksSetSuitesPreferencesRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/check-suites/preferences"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksSetSuitesPreferencesResponseData { - preferences: { - auto_trigger_checks: { - app_id: number; - setting: boolean; - }[]; - }; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} - -type ChecksUpdateEndpoint = { - owner: string; - - repo: string; - - check_run_id: number; - /** - * The name of the check. For example, "code-coverage". - */ - name?: string; - /** - * The URL of the integrator's site that has the full details of the check. - */ - details_url?: string; - /** - * A reference for the run on the integrator's system. - */ - external_id?: string; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * The current status. Can be one of `queued`, `in_progress`, or `completed`. - */ - status?: "queued" | "in_progress" | "completed"; - /** - * **Required if you provide `completed_at` or a `status` of `completed`**. The final conclusion of the check. Can be one of `success`, `failure`, `neutral`, `cancelled`, `skipped`, `timed_out`, or `action_required`. - * **Note:** Providing `conclusion` will automatically set the `status` parameter to `completed`. Only GitHub can change a check run conclusion to `stale`. - */ - conclusion?: - | "success" - | "failure" - | "neutral" - | "cancelled" - | "skipped" - | "timed_out" - | "action_required"; - /** - * The time the check completed. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - completed_at?: string; - /** - * Check runs can accept a variety of data in the `output` object, including a `title` and `summary` and can optionally provide descriptive details about the run. See the [`output` object](https://developer.github.com/v3/checks/runs/#output-object-1) description. - */ - output?: ChecksUpdateParamsOutput; - /** - * Possible further actions the integrator can perform, which a user may trigger. Each action includes a `label`, `identifier` and `description`. A maximum of three actions are accepted. See the [`actions` object](https://developer.github.com/v3/checks/runs/#actions-object) description. To learn more about check runs and requested actions, see "[Check runs and requested actions](https://developer.github.com/v3/checks/runs/#check-runs-and-requested-actions)." - */ - actions?: ChecksUpdateParamsActions[]; -} & RequiredPreview<"antiope">; - -type ChecksUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/check-runs/:check_run_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ChecksUpdateResponseData { - id: number; - head_sha: string; - node_id: string; - external_id: string; - url: string; - html_url: string; - details_url: string; - status: string; - conclusion: string; - started_at: string; - completed_at: string; - output: { - title: string; - summary: string; - text: string; - annotations_count: number; - annotations_url: string; - }; - name: string; - check_suite: { - id: number; - }; - app: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }; - pull_requests: { - url: string; - id: number; - number: number; - head: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - base: { - ref: string; - sha: string; - repo: { - id: number; - url: string; - name: string; - }; - }; - }[]; -} - -type CodeScanningGetAlertEndpoint = { - owner: string; - - repo: string; - /** - * The code scanning alert number. - */ - alert_number?: number; -}; - -type CodeScanningGetAlertRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/alerts/:alert_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface CodeScanningGetAlertResponseData { - /** - * The code scanning alert number. - */ - number: number; - /** - * The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - created_at: string; - /** - * The REST API URL of the alert resource. - */ - url: string; - /** - * The GitHub URL of the alert resource. - */ - html_url: string; - instances: unknown[]; - /** - * State of a code scanning alert. - */ - state: "open" | "dismissed" | "fixed"; - dismissed_by: { - login?: string; - id?: number; - node_id?: string; - avatar_url?: string; - gravatar_id?: string; - url?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - repos_url?: string; - events_url?: string; - received_events_url?: string; - type?: string; - site_admin?: boolean; - [k: string]: unknown; - } | null; - /** - * The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - dismissed_at: string; - /** - * **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. - */ - dismissed_reason: ("false positive" | "won't fix" | "used in tests") | null; - rule: { - /** - * A unique identifier for the rule used to detect the alert. - */ - id: string; - /** - * The severity of the alert. - */ - severity: "none" | "note" | "warning" | "error"; - /** - * A short description of the rule used to detect the alert. - */ - description: string; - }; - tool: { - /** - * The name of the tool used to generate the code scanning analysis alert. - */ - name: string; - /** - * The version of the tool used to detect the alert. - */ - version: string; - }; -} - -type CodeScanningGetAlertDeprecatedAlertIdEndpoint = { - owner: string; - - repo: string; - /** - * The code scanning alert number. - * @deprecated "alert_id" is deprecated. Use "alert_number" instead - */ - alert_id?: number; -}; - -type CodeScanningListAlertsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Set to `open`, `fixed`, or `dismissed` to list code scanning alerts in a specific state. - */ - state?: "open" | "dismissed" | "fixed"; - /** - * Set a full Git reference to list alerts for a specific branch. The `ref` must be formatted as `refs/heads/`. - */ - ref?: string; -}; - -type CodeScanningListAlertsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type CodeScanningListAlertsForRepoResponseData = { - /** - * The code scanning alert number. - */ - number: number; - /** - * The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - created_at: string; - /** - * The REST API URL of the alert resource. - */ - url: string; - /** - * The GitHub URL of the alert resource. - */ - html_url: string; - /** - * State of a code scanning alert. - */ - state: "open" | "dismissed" | "fixed"; - dismissed_by: { - login?: string; - id?: number; - node_id?: string; - avatar_url?: string; - gravatar_id?: string; - url?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - repos_url?: string; - events_url?: string; - received_events_url?: string; - type?: string; - site_admin?: boolean; - [k: string]: unknown; - } | null; - /** - * The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - dismissed_at: string; - /** - * **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. - */ - dismissed_reason: ("false positive" | "won't fix" | "used in tests") | null; - rule: { - /** - * A unique identifier for the rule used to detect the alert. - */ - id: string; - /** - * The severity of the alert. - */ - severity: "none" | "note" | "warning" | "error"; - /** - * A short description of the rule used to detect the alert. - */ - description: string; - }; - tool: { - /** - * The name of the tool used to generate the code scanning analysis alert. - */ - name: string; - /** - * The version of the tool used to detect the alert. - */ - version: string; - }; -}[]; - -type CodeScanningListRecentAnalysesEndpoint = { - owner: string; - - repo: string; - /** - * Set a full Git reference to list alerts for a specific branch. The `ref` must be formatted as `refs/heads/`. - */ - ref?: string; - /** - * Set a single code scanning tool name to filter alerts by tool. - */ - tool_name?: string; -}; - -type CodeScanningListRecentAnalysesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/code-scanning/analyses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type CodeScanningListRecentAnalysesResponseData = { - /** - * The commit SHA of the code scanning analysis file. - */ - commit_sha: string; - /** - * The full Git reference of the code scanning analysis file, formatted as `refs/heads/`. - */ - ref: string; - /** - * Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name. - */ - analysis_key: string; - /** - * The time that the analysis was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - created_at: string; - /** - * The name of the tool used to generate the code scanning analysis alert. - */ - tool_name: string; - error: string; - /** - * Identifies the variable values associated with the environment in which this analysis was performed. - */ - environment: string; -}[]; - -type CodeScanningUpdateAlertEndpoint = { - owner: string; - - repo: string; - /** - * The code scanning alert number. - */ - alert_number?: number; - /** - * Sets the state of the code scanning alert. Can be one of `open` or `dismissed`. You must provide `dismissed_reason` when you set the state to `dismissed`. - */ - state: "open" | "dismissed"; - /** - * **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. - */ - dismissed_reason?: string | null; -}; - -type CodeScanningUpdateAlertRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/code-scanning/alerts/:alert_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface CodeScanningUpdateAlertResponseData { - /** - * The code scanning alert number. - */ - number: number; - /** - * The time that the alert was created in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - created_at: string; - /** - * The REST API URL of the alert resource. - */ - url: string; - /** - * The GitHub URL of the alert resource. - */ - html_url: string; - instances: unknown[]; - /** - * State of a code scanning alert. - */ - state: "open" | "dismissed" | "fixed"; - dismissed_by: { - login?: string; - id?: number; - node_id?: string; - avatar_url?: string; - gravatar_id?: string; - url?: string; - html_url?: string; - followers_url?: string; - following_url?: string; - gists_url?: string; - starred_url?: string; - subscriptions_url?: string; - organizations_url?: string; - repos_url?: string; - events_url?: string; - received_events_url?: string; - type?: string; - site_admin?: boolean; - [k: string]: unknown; - } | null; - /** - * The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - dismissed_at: string; - /** - * **Required when the state is dismissed.** The reason for dismissing or closing the alert. Can be one of: `false positive`, `won't fix`, and `used in tests`. - */ - dismissed_reason: ("false positive" | "won't fix" | "used in tests") | null; - rule: { - /** - * A unique identifier for the rule used to detect the alert. - */ - id: string; - /** - * The severity of the alert. - */ - severity: "none" | "note" | "warning" | "error"; - /** - * A short description of the rule used to detect the alert. - */ - description: string; - }; - tool: { - /** - * The name of the tool used to generate the code scanning analysis alert. - */ - name: string; - /** - * The version of the tool used to detect the alert. - */ - version: string; - }; -} - -type CodeScanningUploadSarifEndpoint = { - owner: string; - - repo: string; - /** - * The commit SHA of the code scanning analysis file. - */ - commit_sha: string; - /** - * The full Git reference of the code scanning analysis file, formatted as `refs/heads/`. - */ - ref: string; - /** - * A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. - */ - sarif: string; - /** - * The base directory used in the analysis, as it appears in the SARIF file. - * This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository. - */ - checkout_uri?: string; - /** - * The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - started_at?: string; - /** - * The name of the tool used to generate the code scanning analysis alert. - */ - tool_name: string; -}; - -type CodeScanningUploadSarifRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/code-scanning/sarifs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type CodesOfConductGetAllCodesOfConductEndpoint = {} & RequiredPreview< - "scarlet-witch" ->; - -type CodesOfConductGetAllCodesOfConductRequestOptions = { - method: "GET"; - url: "/codes_of_conduct"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type CodesOfConductGetAllCodesOfConductResponseData = { - key: string; - name: string; - url: string; -}[]; - -type CodesOfConductGetConductCodeEndpoint = { - key: string; -} & RequiredPreview<"scarlet-witch">; - -type CodesOfConductGetConductCodeRequestOptions = { - method: "GET"; - url: "/codes_of_conduct/:key"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface CodesOfConductGetConductCodeResponseData { - key: string; - name: string; - url: string; - body: string; -} - -type CodesOfConductGetForRepoEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"scarlet-witch">; - -type CodesOfConductGetForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/community/code_of_conduct"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface CodesOfConductGetForRepoResponseData { - key: string; - name: string; - url: string; - body: string; -} - -type EmojisGetEndpoint = {}; - -type EmojisGetRequestOptions = { - method: "GET"; - url: "/emojis"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Unique identifier of an organization. - */ - org_id: number; -}; - -type EnterpriseAdminAddOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = { - method: "PUT"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type EnterpriseAdminAddSelfHostedRunnerToRunnerGroupForEnterpriseRequestOptions = { - method: "PUT"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminCreateRegistrationTokenForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; -}; - -type EnterpriseAdminCreateRegistrationTokenForEnterpriseRequestOptions = { - method: "POST"; - url: "/enterprises/:enterprise/actions/runners/registration-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminCreateRegistrationTokenForEnterpriseResponseData { - token: string; - expires_at: string; -} - -type EnterpriseAdminCreateRemoveTokenForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; -}; - -type EnterpriseAdminCreateRemoveTokenForEnterpriseRequestOptions = { - method: "POST"; - url: "/enterprises/:enterprise/actions/runners/remove-token"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminCreateRemoveTokenForEnterpriseResponseData { - token: string; - expires_at: string; -} - -type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Name of the runner group. - */ - name: string; - /** - * Visibility of a runner group. You can select all organizations or select individual organization. Can be one of: `all` or `selected` - */ - visibility?: "selected" | "all"; - /** - * List of organization IDs that can access the runner group. - */ - selected_organization_ids?: number[]; - /** - * List of runner IDs to add to the runner group. - */ - runners?: number[]; -}; - -type EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseRequestOptions = { - method: "POST"; - url: "/enterprises/:enterprise/actions/runner-groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminCreateSelfHostedRunnerGroupForEnterpriseResponseData { - id: number; - name: string; - visibility: string; - default: boolean; - selected_organizations_url: string; - runners_url: string; -} - -type EnterpriseAdminDeleteScimGroupFromEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_group_id: string; -}; - -type EnterpriseAdminDeleteScimGroupFromEnterpriseRequestOptions = { - method: "DELETE"; - url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type EnterpriseAdminDeleteSelfHostedRunnerFromEnterpriseRequestOptions = { - method: "DELETE"; - url: "/enterprises/:enterprise/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; -}; - -type EnterpriseAdminDeleteSelfHostedRunnerGroupFromEnterpriseRequestOptions = { - method: "DELETE"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminDeleteUserFromEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; -}; - -type EnterpriseAdminDeleteUserFromEnterpriseRequestOptions = { - method: "DELETE"; - url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminGetGithubActionsBillingGheEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; -}; - -type EnterpriseAdminGetGithubActionsBillingGheRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/settings/billing/actions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetGithubActionsBillingGheResponseData { - /** - * The sum of the free and paid GitHub Actions minutes used. - */ - total_minutes_used: number; - /** - * The total paid GitHub Actions minutes used. - */ - total_paid_minutes_used: number; - /** - * The amount of free GitHub Actions minutes available. - */ - included_minutes: number; - minutes_used_breakdown: { - /** - * Total minutes used on Ubuntu runner machines. - */ - UBUNTU: number; - /** - * Total minutes used on macOS runner machines. - */ - MACOS: number; - /** - * Total minutes used on Windows runner machines. - */ - WINDOWS: number; - }; -} - -type EnterpriseAdminGetGithubActionsBillingGheDeprecatedEnterpriseIdEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - * @deprecated "enterprise_id" is deprecated. Use "enterprise" instead - */ - enterprise_id?: string; -}; - -type EnterpriseAdminGetGithubPackagesBillingGheEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; -}; - -type EnterpriseAdminGetGithubPackagesBillingGheRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/settings/billing/packages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetGithubPackagesBillingGheResponseData { - /** - * Sum of the free and paid storage space (GB) for GitHuub Packages. - */ - total_gigabytes_bandwidth_used: number; - /** - * Total paid storage space (GB) for GitHuub Packages. - */ - total_paid_gigabytes_bandwidth_used: number; - /** - * Free storage space (GB) for GitHub Packages. - */ - included_gigabytes_bandwidth: number; -} - -type EnterpriseAdminGetGithubPackagesBillingGheDeprecatedEnterpriseIdEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - * @deprecated "enterprise_id" is deprecated. Use "enterprise" instead - */ - enterprise_id?: string; -}; - -type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_group_id: string; -}; - -type EnterpriseAdminGetProvisioningInformationForEnterpriseGroupRequestOptions = { - method: "GET"; - url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetProvisioningInformationForEnterpriseGroupResponseData { - schemas: string[]; - id: string; - externalId: string; - displayName: string; - members: { - value: string; - $ref: string; - display: string; - }[]; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminGetProvisioningInformationForEnterpriseUserEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; -}; - -type EnterpriseAdminGetProvisioningInformationForEnterpriseUserRequestOptions = { - method: "GET"; - url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetProvisioningInformationForEnterpriseUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - groups: { - value: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminGetSelfHostedRunnerForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type EnterpriseAdminGetSelfHostedRunnerForEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetSelfHostedRunnerForEnterpriseResponseData { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; -} - -type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; -}; - -type EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetSelfHostedRunnerGroupForEnterpriseResponseData { - id: number; - name: string; - visibility: string; - default: boolean; - selected_organizations_url: string; - runners_url: string; -} - -type EnterpriseAdminGetSharedStorageBillingGheEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; -}; - -type EnterpriseAdminGetSharedStorageBillingGheRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/settings/billing/shared-storage"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminGetSharedStorageBillingGheResponseData { - /** - * Numbers of days left in billing cycle. - */ - days_left_in_billing_cycle: number; - /** - * Estimated storage space (GB) used in billing cycle. - */ - estimated_paid_storage_for_month: number; - /** - * Estimated sum of free and paid storage space (GB) used in billing cycle. - */ - estimated_storage_for_month: number; -} - -type EnterpriseAdminGetSharedStorageBillingGheDeprecatedEnterpriseIdEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - * @deprecated "enterprise_id" is deprecated. Use "enterprise" instead - */ - enterprise_id?: string; -}; - -type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminListOrgAccessToSelfHostedRunnerGroupInEnterpriseResponseData { - total_count: number; - organizations: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }[]; -} - -type EnterpriseAdminListProvisionedGroupsEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Used for pagination: the index of the first result to return. - */ - startIndex?: number; - /** - * Used for pagination: the number of results to return. - */ - count?: number; -}; - -type EnterpriseAdminListProvisionedGroupsEnterpriseRequestOptions = { - method: "GET"; - url: "/scim/v2/enterprises/:enterprise/Groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminListProvisionedGroupsEnterpriseResponseData { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId: string; - displayName: string; - members: { - value: string; - $ref: string; - display: string; - }[]; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; - }[]; -} - -type EnterpriseAdminListProvisionedIdentitiesEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Used for pagination: the index of the first result to return. - */ - startIndex?: number; - /** - * Used for pagination: the number of results to return. - */ - count?: number; -}; - -type EnterpriseAdminListProvisionedIdentitiesEnterpriseRequestOptions = { - method: "GET"; - url: "/scim/v2/enterprises/:enterprise/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminListProvisionedIdentitiesEnterpriseResponseData { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - primary: boolean; - type: string; - }[]; - groups: { - value: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; - }[]; -} - -type EnterpriseAdminListRunnerApplicationsForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; -}; - -type EnterpriseAdminListRunnerApplicationsForEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runners/downloads"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type EnterpriseAdminListRunnerApplicationsForEnterpriseResponseData = { - os: string; - architecture: string; - download_url: string; - filename: string; -}[]; - -type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runner-groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminListSelfHostedRunnerGroupsForEnterpriseResponseData { - total_count: number; - runner_groups: { - id: number; - name: string; - visibility: string; - default: boolean; - selected_organizations_url: string; - runners_url: string; - }[]; -} - -type EnterpriseAdminListSelfHostedRunnersForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type EnterpriseAdminListSelfHostedRunnersForEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminListSelfHostedRunnersForEnterpriseResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; - }[]; -} - -type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseRequestOptions = { - method: "GET"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminListSelfHostedRunnersInGroupForEnterpriseResponseData { - total_count: number; - runners: { - id: number; - name: string; - os: string; - status: string; - busy: boolean; - labels: { - /** - * Unique identifier of the label. - */ - id: number; - /** - * Name of the label. - */ - name: string; - /** - * The type of label. Read-only labels are applied automatically when the runner is configured. - */ - type: "read-only" | "custom"; - }[]; - }[]; -} - -type EnterpriseAdminProvisionAndInviteEnterpriseGroupEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The name of the SCIM group. This must match the GitHub organization that the group maps to. - */ - displayName: string; - - members?: EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers[]; -}; - -type EnterpriseAdminProvisionAndInviteEnterpriseGroupRequestOptions = { - method: "POST"; - url: "/scim/v2/enterprises/:enterprise/Groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminProvisionAndInviteEnterpriseGroupResponseData { - schemas: string[]; - id: string; - externalId: string; - displayName: string; - members: { - value: string; - $ref: string; - display: string; - }[]; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminProvisionAndInviteEnterpriseUserEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The username for the user. - */ - userName: string; - - name: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName; - /** - * List of user emails. - */ - emails: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails[]; - /** - * List of SCIM group IDs the user is a member of. - */ - groups?: EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups[]; -}; - -type EnterpriseAdminProvisionAndInviteEnterpriseUserRequestOptions = { - method: "POST"; - url: "/scim/v2/enterprises/:enterprise/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminProvisionAndInviteEnterpriseUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - groups: { - value: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Unique identifier of an organization. - */ - org_id: number; -}; - -type EnterpriseAdminRemoveOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = { - method: "DELETE"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations/:org_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Unique identifier of the self-hosted runner. - */ - runner_id: number; -}; - -type EnterpriseAdminRemoveSelfHostedRunnerFromGroupForEnterpriseRequestOptions = { - method: "DELETE"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners/:runner_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_group_id: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The name of the SCIM group. This must match the GitHub organization that the group maps to. - */ - displayName: string; - - members?: EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers[]; -}; - -type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupRequestOptions = { - method: "PUT"; - url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminSetInformationForProvisionedEnterpriseGroupResponseData { - schemas: string[]; - id: string; - externalId: string; - displayName: string; - members: { - value: string; - $ref: string; - display: string; - }[]; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminSetInformationForProvisionedEnterpriseUserEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The username for the user. - */ - userName: string; - - name: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName; - /** - * List of user emails. - */ - emails: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails[]; - /** - * List of SCIM group IDs the user is a member of. - */ - groups?: EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups[]; -}; - -type EnterpriseAdminSetInformationForProvisionedEnterpriseUserRequestOptions = { - method: "PUT"; - url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminSetInformationForProvisionedEnterpriseUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - groups: { - value: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * List of organization IDs that can access the runner group. - */ - selected_organization_ids: number[]; -}; - -type EnterpriseAdminSetOrgAccessToSelfHostedRunnerGroupInEnterpriseRequestOptions = { - method: "PUT"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/organizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminSetSelfHostedInGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * List of runner IDs to add to the runner group. - */ - runners: number[]; -}; - -type EnterpriseAdminSetSelfHostedInGroupForEnterpriseRequestOptions = { - method: "PUT"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id/runners"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type EnterpriseAdminUpdateAttributeForEnterpriseGroupEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_group_id: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). - */ - Operations: EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations[]; -}; - -type EnterpriseAdminUpdateAttributeForEnterpriseGroupRequestOptions = { - method: "PATCH"; - url: "/scim/v2/enterprises/:enterprise/Groups/:scim_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminUpdateAttributeForEnterpriseGroupResponseData { - schemas: string[]; - id: string; - externalId: string; - displayName: string; - members: { - value: string; - $ref: string; - display: string; - }[]; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminUpdateAttributeForEnterpriseUserEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). - */ - Operations: EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations[]; -}; - -type EnterpriseAdminUpdateAttributeForEnterpriseUserRequestOptions = { - method: "PATCH"; - url: "/scim/v2/enterprises/:enterprise/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminUpdateAttributeForEnterpriseUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - groups: { - value: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseEndpoint = { - /** - * The slug version of the enterprise name. You can also substitute this value with the enterprise id. - */ - enterprise: string; - /** - * Unique identifier of the self-hosted runner group. - */ - runner_group_id: number; - /** - * Name of the runner group. - */ - name?: string; - /** - * Visibility of a runner group. You can select all organizations or select individual organizations. Can be one of: `all` or `selected` - */ - visibility?: "selected" | "all"; -}; - -type EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseRequestOptions = { - method: "PATCH"; - url: "/enterprises/:enterprise/actions/runner-groups/:runner_group_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface EnterpriseAdminUpdateSelfHostedRunnerGroupForEnterpriseResponseData { - id: number; - name: string; - visibility: string; - default: boolean; - selected_organizations_url: string; - runners_url: string; -} - -type GistsCheckIsStarredEndpoint = { - gist_id: string; -}; - -type GistsCheckIsStarredRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type GistsCreateEndpoint = { - /** - * The filenames and content of each file in the gist. The keys in the `files` object represent the filename and have the type `string`. - */ - files: GistsCreateParamsFiles; - /** - * A descriptive name for this gist. - */ - description?: string; - /** - * When `true`, the gist will be public and available for anyone to see. - */ - public?: boolean; -}; - -type GistsCreateRequestOptions = { - method: "POST"; - url: "/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsCreateResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} - -type GistsCreateCommentEndpoint = { - gist_id: string; - /** - * The comment text. - */ - body: string; -}; - -type GistsCreateCommentRequestOptions = { - method: "POST"; - url: "/gists/:gist_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsCreateCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type GistsDeleteEndpoint = { - gist_id: string; -}; - -type GistsDeleteRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type GistsDeleteCommentEndpoint = { - gist_id: string; - - comment_id: number; -}; - -type GistsDeleteCommentRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type GistsForkEndpoint = { - gist_id: string; -}; - -type GistsForkRequestOptions = { - method: "POST"; - url: "/gists/:gist_id/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsForkResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -} - -type GistsGetEndpoint = { - gist_id: string; -}; - -type GistsGetRequestOptions = { - method: "GET"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsGetResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} - -type GistsGetCommentEndpoint = { - gist_id: string; - - comment_id: number; -}; - -type GistsGetCommentRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsGetCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type GistsGetRevisionEndpoint = { - gist_id: string; - - sha: string; -}; - -type GistsGetRevisionRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/:sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsGetRevisionResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} - -type GistsListEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListRequestOptions = { - method: "GET"; - url: "/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; - -type GistsListCommentsEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListCommentsRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListCommentsResponseData = { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type GistsListCommitsEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListCommitsRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListCommitsResponseData = { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; -}[]; - -type GistsListForUserEndpoint = { - username: string; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/gists"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListForUserResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; - -type GistsListForksEndpoint = { - gist_id: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListForksRequestOptions = { - method: "GET"; - url: "/gists/:gist_id/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListForksResponseData = { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; -}[]; - -type GistsListPublicEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListPublicRequestOptions = { - method: "GET"; - url: "/gists/public"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListPublicResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; - -type GistsListStarredEndpoint = { - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only gists updated at or after this time are returned. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GistsListStarredRequestOptions = { - method: "GET"; - url: "/gists/starred"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GistsListStarredResponseData = { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; -}[]; - -type GistsStarEndpoint = { - gist_id: string; -}; - -type GistsStarRequestOptions = { - method: "PUT"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type GistsUnstarEndpoint = { - gist_id: string; -}; - -type GistsUnstarRequestOptions = { - method: "DELETE"; - url: "/gists/:gist_id/star"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type GistsUpdateEndpoint = { - gist_id: string; - /** - * A descriptive name for this gist. - */ - description?: string; - /** - * The filenames and content that make up this gist. - */ - files?: GistsUpdateParamsFiles; -}; - -type GistsUpdateRequestOptions = { - method: "PATCH"; - url: "/gists/:gist_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsUpdateResponseData { - url: string; - forks_url: string; - commits_url: string; - id: string; - node_id: string; - git_pull_url: string; - git_push_url: string; - html_url: string; - files: { - [k: string]: { - filename?: string; - type?: string; - language?: string; - raw_url?: string; - size?: number; - truncated?: boolean; - content?: string; - [k: string]: unknown; - }; - }; - public: boolean; - created_at: string; - updated_at: string; - description: string; - comments: number; - user: string; - comments_url: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - truncated: boolean; - forks: { - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - url: string; - id: string; - created_at: string; - updated_at: string; - }[]; - history: { - url: string; - version: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - change_status: { - deletions: number; - additions: number; - total: number; - }; - committed_at: string; - }[]; -} - -type GistsUpdateCommentEndpoint = { - gist_id: string; - - comment_id: number; - /** - * The comment text. - */ - body: string; -}; - -type GistsUpdateCommentRequestOptions = { - method: "PATCH"; - url: "/gists/:gist_id/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GistsUpdateCommentResponseData { - id: number; - node_id: string; - url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type GitCreateBlobEndpoint = { - owner: string; - - repo: string; - /** - * The new blob's content. - */ - content: string; - /** - * The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. - */ - encoding?: string; -}; - -type GitCreateBlobRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/blobs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitCreateBlobResponseData { - url: string; - sha: string; -} - -type GitCreateCommitEndpoint = { - owner: string; - - repo: string; - /** - * The commit message - */ - message: string; - /** - * The SHA of the tree object this commit points to - */ - tree: string; - /** - * The SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. - */ - parents: string[]; - /** - * Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. - */ - author?: GitCreateCommitParamsAuthor; - /** - * Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. - */ - committer?: GitCreateCommitParamsCommitter; - /** - * The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. - */ - signature?: string; -}; - -type GitCreateCommitRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitCreateCommitResponseData { - sha: string; - node_id: string; - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} - -type GitCreateRefEndpoint = { - owner: string; - - repo: string; - /** - * The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. - */ - ref: string; - /** - * The SHA1 value for this reference. - */ - sha: string; -}; - -type GitCreateRefRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/refs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitCreateRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} - -type GitCreateTagEndpoint = { - owner: string; - - repo: string; - /** - * The tag's name. This is typically a version (e.g., "v0.0.1"). - */ - tag: string; - /** - * The tag message. - */ - message: string; - /** - * The SHA of the git object this is tagging. - */ - object: string; - /** - * The type of the object we're tagging. Normally this is a `commit` but it can also be a `tree` or a `blob`. - */ - type: "commit" | "tree" | "blob"; - /** - * An object with information about the individual creating the tag. - */ - tagger?: GitCreateTagParamsTagger; -}; - -type GitCreateTagRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/tags"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitCreateTagResponseData { - node_id: string; - tag: string; - sha: string; - url: string; - message: string; - tagger: { - name: string; - email: string; - date: string; - }; - object: { - type: string; - sha: string; - url: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} - -type GitCreateTreeEndpoint = { - owner: string; - - repo: string; - /** - * Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. - */ - tree: GitCreateTreeParamsTree[]; - /** - * The SHA1 of the tree you want to update with new data. If you don't set this, the commit will be created on top of everything; however, it will only contain your change, the rest of your files will show up as deleted. - */ - base_tree?: string; -}; - -type GitCreateTreeRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/git/trees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitCreateTreeResponseData { - sha: string; - url: string; - tree: { - path: string; - mode: string; - type: string; - size: number; - sha: string; - url: string; - }[]; -} - -type GitDeleteRefEndpoint = { - owner: string; - - repo: string; - - ref: string; -}; - -type GitDeleteRefRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/git/refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type GitGetBlobEndpoint = { - owner: string; - - repo: string; - - file_sha: string; -}; - -type GitGetBlobRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/blobs/:file_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitGetBlobResponseData { - content: string; - encoding: string; - url: string; - sha: string; - size: number; -} - -type GitGetCommitEndpoint = { - owner: string; - - repo: string; - - commit_sha: string; -}; - -type GitGetCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/commits/:commit_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitGetCommitResponseData { - sha: string; - node_id: string; - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} - -type GitGetRefEndpoint = { - owner: string; - - repo: string; - - ref: string; -}; - -type GitGetRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/ref/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitGetRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} - -type GitGetTagEndpoint = { - owner: string; - - repo: string; - - tag_sha: string; -}; - -type GitGetTagRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/tags/:tag_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitGetTagResponseData { - node_id: string; - tag: string; - sha: string; - url: string; - message: string; - tagger: { - name: string; - email: string; - date: string; - }; - object: { - type: string; - sha: string; - url: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; -} - -type GitGetTreeEndpoint = { - owner: string; - - repo: string; - - tree_sha: string; - /** - * Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees. - */ - recursive?: string; -}; - -type GitGetTreeRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/trees/:tree_sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitGetTreeResponseData { - sha: string; - url: string; - tree: { - path: string; - mode: string; - type: string; - size: number; - sha: string; - url: string; - }[]; - truncated: boolean; -} - -type GitListMatchingRefsEndpoint = { - owner: string; - - repo: string; - - ref: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type GitListMatchingRefsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/git/matching-refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GitListMatchingRefsResponseData = { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -}[]; - -type GitUpdateRefEndpoint = { - owner: string; - - repo: string; - - ref: string; - /** - * The SHA1 value to set this reference to - */ - sha: string; - /** - * Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work. - */ - force?: boolean; -}; - -type GitUpdateRefRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/git/refs/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitUpdateRefResponseData { - ref: string; - node_id: string; - url: string; - object: { - type: string; - sha: string; - url: string; - }; -} - -type GitignoreGetAllTemplatesEndpoint = {}; - -type GitignoreGetAllTemplatesRequestOptions = { - method: "GET"; - url: "/gitignore/templates"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type GitignoreGetAllTemplatesResponseData = string[]; - -type GitignoreGetTemplateEndpoint = { - name: string; -}; - -type GitignoreGetTemplateRequestOptions = { - method: "GET"; - url: "/gitignore/templates/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface GitignoreGetTemplateResponseData { - name: string; - source: string; -} - -type InteractionsGetRestrictionsForOrgEndpoint = { - org: string; -} & RequiredPreview<"sombra">; - -type InteractionsGetRestrictionsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface InteractionsGetRestrictionsForOrgResponseData { - limit: string; - origin: string; - expires_at: string; -} - -type InteractionsGetRestrictionsForRepoEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"sombra">; - -type InteractionsGetRestrictionsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface InteractionsGetRestrictionsForRepoResponseData { - limit: string; - origin: string; - expires_at: string; -} - -type InteractionsRemoveRestrictionsForOrgEndpoint = { - org: string; -} & RequiredPreview<"sombra">; - -type InteractionsRemoveRestrictionsForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type InteractionsRemoveRestrictionsForRepoEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"sombra">; - -type InteractionsRemoveRestrictionsForRepoRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type InteractionsSetRestrictionsForOrgEndpoint = { - org: string; - /** - * Specifies the group of GitHub users who can comment, open issues, or create pull requests in public repositories for the given organization. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`. - */ - limit: "existing_users" | "contributors_only" | "collaborators_only"; -} & RequiredPreview<"sombra">; - -type InteractionsSetRestrictionsForOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface InteractionsSetRestrictionsForOrgResponseData { - limit: string; - origin: string; - expires_at: string; -} - -type InteractionsSetRestrictionsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Specifies the group of GitHub users who can comment, open issues, or create pull requests for the given repository. Must be one of: `existing_users`, `contributors_only`, or `collaborators_only`. - */ - limit: "existing_users" | "contributors_only" | "collaborators_only"; -} & RequiredPreview<"sombra">; - -type InteractionsSetRestrictionsForRepoRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/interaction-limits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface InteractionsSetRestrictionsForRepoResponseData { - limit: string; - origin: string; - expires_at: string; -} - -type IssuesAddAssigneesEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ - */ - assignees?: string[]; -}; - -type IssuesAddAssigneesRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesAddAssigneesResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -} - -type IssuesAddLabelsEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * The name of the label to add to the issue. Must contain at least one label. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. - */ - labels: string[]; -}; - -type IssuesAddLabelsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesAddLabelsResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; - -type IssuesCheckUserCanBeAssignedEndpoint = { - owner: string; - - repo: string; - - assignee: string; -}; - -type IssuesCheckUserCanBeAssignedRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/assignees/:assignee"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesCreateEndpoint = { - owner: string; - - repo: string; - /** - * The title of the issue. - */ - title: string; - /** - * The contents of the issue. - */ - body?: string; - /** - * Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ - */ - assignee?: string; - /** - * The `number` of the milestone to associate this issue with. _NOTE: Only users with push access can set the milestone for new issues. The milestone is silently dropped otherwise._ - */ - milestone?: number; - /** - * Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ - */ - labels?: string[]; - /** - * Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ - */ - assignees?: string[]; -}; - -type IssuesCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesCreateResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type IssuesCreateCommentEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * The contents of the comment. - */ - body: string; -}; - -type IssuesCreateCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesCreateCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type IssuesCreateLabelEndpoint = { - owner: string; - - repo: string; - /** - * The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/). - */ - name: string; - /** - * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. - */ - color: string; - /** - * A short description of the label. - */ - description?: string; -}; - -type IssuesCreateLabelRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesCreateLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} - -type IssuesCreateMilestoneEndpoint = { - owner: string; - - repo: string; - /** - * The title of the milestone. - */ - title: string; - /** - * The state of the milestone. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * A description of the milestone. - */ - description?: string; - /** - * The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - due_on?: string; -}; - -type IssuesCreateMilestoneRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/milestones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesCreateMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} - -type IssuesDeleteCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; -}; - -type IssuesDeleteCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesDeleteLabelEndpoint = { - owner: string; - - repo: string; - - name: string; -}; - -type IssuesDeleteLabelRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesDeleteMilestoneEndpoint = { - owner: string; - - repo: string; - - milestone_number: number; -}; - -type IssuesDeleteMilestoneRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesGetEndpoint = { - owner: string; - - repo: string; - - issue_number: number; -}; - -type IssuesGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesGetResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type IssuesGetCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; -}; - -type IssuesGetCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesGetCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type IssuesGetEventEndpoint = { - owner: string; - - repo: string; - - event_id: number; -}; - -type IssuesGetEventRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/events/:event_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesGetEventResponseData { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; - issue: { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - }; -} - -type IssuesGetLabelEndpoint = { - owner: string; - - repo: string; - - name: string; -}; - -type IssuesGetLabelRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesGetLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} - -type IssuesGetMilestoneEndpoint = { - owner: string; - - repo: string; - - milestone_number: number; -}; - -type IssuesGetMilestoneRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesGetMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} - -type IssuesListEndpoint = { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListRequestOptions = { - method: "GET"; - url: "/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; - -type IssuesListAssigneesEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListAssigneesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListAssigneesResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type IssuesListCommentsEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListCommentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListCommentsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type IssuesListCommentsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Either `created` or `updated`. - */ - sort?: "created" | "updated"; - /** - * Either `asc` or `desc`. Ignored without the `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * Only comments updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListCommentsForRepoResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type IssuesListEventsEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListEventsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListEventsResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; -}[]; - -type IssuesListEventsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListEventsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListEventsForRepoResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; - issue: { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - }; -}[]; - -type IssuesListEventsForTimelineEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"mockingbird">; - -type IssuesListEventsForTimelineRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/timeline"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListEventsForTimelineResponseData = { - id: number; - node_id: string; - url: string; - actor: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - event: string; - commit_id: string; - commit_url: string; - created_at: string; -}[]; - -type IssuesListForAuthenticatedUserEndpoint = { - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListForAuthenticatedUserResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; - -type IssuesListForOrgEndpoint = { - org: string; - /** - * Indicates which sorts of issues to return. Can be one of: - * \* `assigned`: Issues assigned to you - * \* `created`: Issues created by you - * \* `mentioned`: Issues mentioning you - * \* `subscribed`: Issues you're subscribed to updates for - * \* `all`: All issues the authenticated user can see, regardless of participation or creation - */ - filter?: "assigned" | "created" | "mentioned" | "subscribed" | "all"; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListForOrgResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -}[]; - -type IssuesListForRepoEndpoint = { - owner: string; - - repo: string; - /** - * If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. - */ - milestone?: string; - /** - * Indicates the state of the issues to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. - */ - assignee?: string; - /** - * The user that created the issue. - */ - creator?: string; - /** - * A user that's mentioned in the issue. - */ - mentioned?: string; - /** - * A list of comma separated label names. Example: `bug,ui,@high` - */ - labels?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `comments`. - */ - sort?: "created" | "updated" | "comments"; - /** - * The direction of the sort. Can be either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Only issues updated at or after this time are returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListForRepoResponseData = { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -}[]; - -type IssuesListLabelsForMilestoneEndpoint = { - owner: string; - - repo: string; - - milestone_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListLabelsForMilestoneRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones/:milestone_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListLabelsForMilestoneResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; - -type IssuesListLabelsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListLabelsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListLabelsForRepoResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; - -type IssuesListLabelsOnIssueEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListLabelsOnIssueRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListLabelsOnIssueResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; - -type IssuesListMilestonesEndpoint = { - owner: string; - - repo: string; - /** - * The state of the milestone. Either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * What to sort results by. Either `due_on` or `completeness`. - */ - sort?: "due_on" | "completeness"; - /** - * The direction of the sort. Either `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type IssuesListMilestonesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/milestones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesListMilestonesResponseData = { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -}[]; - -type IssuesLockEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * The reason for locking the issue or pull request conversation. Lock will fail if you don't use one of these reasons: - * \* `off-topic` - * \* `too heated` - * \* `resolved` - * \* `spam` - */ - lock_reason?: "off-topic" | "too heated" | "resolved" | "spam"; -}; - -type IssuesLockRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/issues/:issue_number/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesRemoveAllLabelsEndpoint = { - owner: string; - - repo: string; - - issue_number: number; -}; - -type IssuesRemoveAllLabelsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesRemoveAssigneesEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ - */ - assignees?: string[]; -}; - -type IssuesRemoveAssigneesRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/assignees"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesRemoveAssigneesResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; -} - -type IssuesRemoveLabelEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - - name: string; -}; - -type IssuesRemoveLabelRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesRemoveLabelResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; - -type IssuesSetLabelsEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * The names of the labels to add to the issue. You can pass an empty array to remove all labels. **Note:** Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. - */ - labels?: string[]; -}; - -type IssuesSetLabelsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/issues/:issue_number/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type IssuesSetLabelsResponseData = { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -}[]; - -type IssuesUnlockEndpoint = { - owner: string; - - repo: string; - - issue_number: number; -}; - -type IssuesUnlockRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type IssuesUpdateEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * The title of the issue. - */ - title?: string; - /** - * The contents of the issue. - */ - body?: string; - /** - * Login for the user that this issue should be assigned to. **This field is deprecated.** - */ - assignee?: string; - /** - * State of the issue. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The `number` of the milestone to associate this issue with or `null` to remove current. _NOTE: Only users with push access can set the milestone for issues. The milestone is silently dropped otherwise._ - */ - milestone?: number | null; - /** - * Labels to associate with this issue. Pass one or more Labels to _replace_ the set of Labels on this Issue. Send an empty array (`[]`) to clear all Labels from the Issue. _NOTE: Only users with push access can set labels for issues. Labels are silently dropped otherwise._ - */ - labels?: string[]; - /** - * Logins for Users to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this Issue. Send an empty array (`[]`) to clear all assignees from the Issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ - */ - assignees?: string[]; -}; - -type IssuesUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/issues/:issue_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesUpdateResponseData { - id: number; - node_id: string; - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - number: number; - state: string; - title: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - locked: boolean; - active_lock_reason: string; - comments: number; - pull_request: { - url: string; - html_url: string; - diff_url: string; - patch_url: string; - }; - closed_at: string; - created_at: string; - updated_at: string; - closed_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type IssuesUpdateCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * The contents of the comment. - */ - body: string; -}; - -type IssuesUpdateCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/issues/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesUpdateCommentResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - body: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type IssuesUpdateLabelEndpoint = { - owner: string; - - repo: string; - - name: string; - /** - * The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). For a full list of available emoji and codes, see [emoji-cheat-sheet.com](http://emoji-cheat-sheet.com/). - */ - new_name?: string; - /** - * The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. - */ - color?: string; - /** - * A short description of the label. - */ - description?: string; -}; - -type IssuesUpdateLabelRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/labels/:name"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesUpdateLabelResponseData { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; -} - -type IssuesUpdateMilestoneEndpoint = { - owner: string; - - repo: string; - - milestone_number: number; - /** - * The title of the milestone. - */ - title?: string; - /** - * The state of the milestone. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * A description of the milestone. - */ - description?: string; - /** - * The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - due_on?: string; -}; - -type IssuesUpdateMilestoneRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/milestones/:milestone_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface IssuesUpdateMilestoneResponseData { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; -} - -type LicensesGetEndpoint = { - license: string; -}; - -type LicensesGetRequestOptions = { - method: "GET"; - url: "/licenses/:license"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface LicensesGetResponseData { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - html_url: string; - description: string; - implementation: string; - permissions: string[]; - conditions: string[]; - limitations: string[]; - body: string; - featured: boolean; -} - -type LicensesGetAllCommonlyUsedEndpoint = {}; - -type LicensesGetAllCommonlyUsedRequestOptions = { - method: "GET"; - url: "/licenses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type LicensesGetAllCommonlyUsedResponseData = { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; -}[]; - -type LicensesGetForRepoEndpoint = { - owner: string; - - repo: string; -}; - -type LicensesGetForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/license"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface LicensesGetForRepoResponseData { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - content: string; - encoding: string; - _links: { - self: string; - git: string; - html: string; - }; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -} - -type MarkdownRenderEndpoint = { - /** - * The Markdown text to render in HTML. Markdown content must be 400 KB or less. - */ - text: string; - /** - * The rendering mode. Can be either: - * \* `markdown` to render a document in plain Markdown, just like README.md files are rendered. - * \* `gfm` to render a document in [GitHub Flavored Markdown](https://github.github.com/gfm/), which creates links for user mentions as well as references to SHA-1 hashes, issues, and pull requests. - */ - mode?: "markdown" | "gfm"; - /** - * The repository context to use when creating references in `gfm` mode. Omit this parameter when using `markdown` mode. - */ - context?: string; -}; - -type MarkdownRenderRequestOptions = { - method: "POST"; - url: "/markdown"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MarkdownRenderRawEndpoint = { - /** - * data parameter - */ - data: string; -} & { headers: { "content-type": "text/plain; charset=utf-8" } }; - -type MarkdownRenderRawRequestOptions = { - method: "POST"; - url: "/markdown/raw"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MetaGetEndpoint = {}; - -type MetaGetRequestOptions = { - method: "GET"; - url: "/meta"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MetaGetResponseData { - verifiable_password_authentication: boolean; - ssh_key_fingerprints: { - MD5_RSA: string; - MD5_DSA: string; - SHA256_RSA: string; - SHA256_DSA: string; - }; - hooks: string[]; - web: string[]; - api: string[]; - git: string[]; - pages: string[]; - importer: string[]; -} - -type MigrationsCancelImportEndpoint = { - owner: string; - - repo: string; -}; - -type MigrationsCancelImportRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsDeleteArchiveForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsDeleteArchiveForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsDeleteArchiveForOrgEndpoint = { - org: string; - - migration_id: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsDeleteArchiveForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsDownloadArchiveForOrgEndpoint = { - org: string; - - migration_id: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsDownloadArchiveForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsGetArchiveForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsGetArchiveForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id/archive"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsGetCommitAuthorsEndpoint = { - owner: string; - - repo: string; - /** - * Only authors found after this id are returned. Provide the highest author ID you've seen so far. New authors may be added to the list at any point while the importer is performing the `raw` step. - */ - since?: string; -}; - -type MigrationsGetCommitAuthorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import/authors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type MigrationsGetCommitAuthorsResponseData = { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; -}[]; - -type MigrationsGetImportStatusEndpoint = { - owner: string; - - repo: string; -}; - -type MigrationsGetImportStatusRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsGetImportStatusResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} - -type MigrationsGetLargeFilesEndpoint = { - owner: string; - - repo: string; -}; - -type MigrationsGetLargeFilesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/import/large_files"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type MigrationsGetLargeFilesResponseData = { - ref_name: string; - path: string; - oid: string; - size: number; -}[]; - -type MigrationsGetStatusForAuthenticatedUserEndpoint = { - migration_id: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsGetStatusForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsGetStatusForAuthenticatedUserResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} - -type MigrationsGetStatusForOrgEndpoint = { - org: string; - - migration_id: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsGetStatusForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsGetStatusForOrgResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} - -type MigrationsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type MigrationsListForAuthenticatedUserResponseData = { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -}[]; - -type MigrationsListForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type MigrationsListForOrgResponseData = { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -}[]; - -type MigrationsListReposForOrgEndpoint = { - org: string; - - migration_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsListReposForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/migrations/:migration_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type MigrationsListReposForOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type MigrationsListReposForUserEndpoint = { - migration_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"wyandotte">; - -type MigrationsListReposForUserRequestOptions = { - method: "GET"; - url: "/user/migrations/:migration_id/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type MigrationsListReposForUserResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type MigrationsMapCommitAuthorEndpoint = { - owner: string; - - repo: string; - - author_id: number; - /** - * The new Git author email. - */ - email?: string; - /** - * The new Git author name. - */ - name?: string; -}; - -type MigrationsMapCommitAuthorRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import/authors/:author_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsMapCommitAuthorResponseData { - id: number; - remote_id: string; - remote_name: string; - email: string; - name: string; - url: string; - import_url: string; -} - -type MigrationsSetLfsPreferenceEndpoint = { - owner: string; - - repo: string; - /** - * Can be one of `opt_in` (large files will be stored using Git LFS) or `opt_out` (large files will be removed during the import). - */ - use_lfs: "opt_in" | "opt_out"; -}; - -type MigrationsSetLfsPreferenceRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import/lfs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsSetLfsPreferenceResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; -} - -type MigrationsStartForAuthenticatedUserEndpoint = { - /** - * An array of repositories to include in the migration. - */ - repositories: string[]; - /** - * Locks the `repositories` to prevent changes during the migration when set to `true`. - */ - lock_repositories?: boolean; - /** - * Does not include attachments uploaded to GitHub.com in the migration data when set to `true`. Excluding attachments will reduce the migration archive file size. - */ - exclude_attachments?: boolean; -}; - -type MigrationsStartForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsStartForAuthenticatedUserResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} - -type MigrationsStartForOrgEndpoint = { - org: string; - /** - * A list of arrays indicating which repositories should be migrated. - */ - repositories: string[]; - /** - * Indicates whether repositories should be locked (to prevent manipulation) while migrating data. - */ - lock_repositories?: boolean; - /** - * Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). - */ - exclude_attachments?: boolean; -}; - -type MigrationsStartForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/migrations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsStartForOrgResponseData { - id: number; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - guid: string; - state: string; - lock_repositories: boolean; - exclude_attachments: boolean; - repositories: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }[]; - url: string; - created_at: string; - updated_at: string; -} - -type MigrationsStartImportEndpoint = { - owner: string; - - repo: string; - /** - * The URL of the originating repository. - */ - vcs_url: string; - /** - * The originating VCS type. Can be one of `subversion`, `git`, `mercurial`, or `tfvc`. Please be aware that without this parameter, the import job will take additional time to detect the VCS type before beginning the import. This detection step will be reflected in the response. - */ - vcs?: "subversion" | "git" | "mercurial" | "tfvc"; - /** - * If authentication is required, the username to provide to `vcs_url`. - */ - vcs_username?: string; - /** - * If authentication is required, the password to provide to `vcs_url`. - */ - vcs_password?: string; - /** - * For a tfvc import, the name of the project that is being imported. - */ - tfvc_project?: string; -}; - -type MigrationsStartImportRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsStartImportResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - percent: number; - commit_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; - tfvc_project: string; -} - -type MigrationsUnlockRepoForAuthenticatedUserEndpoint = { - migration_id: number; - - repo_name: string; -} & RequiredPreview<"wyandotte">; - -type MigrationsUnlockRepoForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/user/migrations/:migration_id/repos/:repo_name/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsUnlockRepoForOrgEndpoint = { - org: string; - - migration_id: number; - - repo_name: string; -} & RequiredPreview<"wyandotte">; - -type MigrationsUnlockRepoForOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/migrations/:migration_id/repos/:repo_name/lock"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type MigrationsUpdateImportEndpoint = { - owner: string; - - repo: string; - /** - * The username to provide to the originating repository. - */ - vcs_username?: string; - /** - * The password to provide to the originating repository. - */ - vcs_password?: string; -}; - -type MigrationsUpdateImportRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/import"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface MigrationsUpdateImportResponseData { - vcs: string; - use_lfs: string; - vcs_url: string; - status: string; - status_text: string; - has_large_files: boolean; - large_files_size: number; - large_files_count: number; - authors_count: number; - percent: number; - commit_count: number; - url: string; - html_url: string; - authors_url: string; - repository_url: string; - tfvc_project: string; -} - -type OauthAuthorizationsCreateAuthorizationEndpoint = { - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note. - */ - note: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * The 20 character OAuth app client key for which to create the token. - */ - client_id?: string; - /** - * The 40 character OAuth app client secret for which to create the token. - */ - client_secret?: string; - /** - * A unique string to distinguish an authorization from others created for the same client ID and user. - */ - fingerprint?: string; -}; - -type OauthAuthorizationsCreateAuthorizationRequestOptions = { - method: "POST"; - url: "/authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OauthAuthorizationsCreateAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -type OauthAuthorizationsDeleteAuthorizationEndpoint = { - authorization_id: number; -}; - -type OauthAuthorizationsDeleteAuthorizationRequestOptions = { - method: "DELETE"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OauthAuthorizationsDeleteGrantEndpoint = { - grant_id: number; -}; - -type OauthAuthorizationsDeleteGrantRequestOptions = { - method: "DELETE"; - url: "/applications/grants/:grant_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OauthAuthorizationsGetAuthorizationEndpoint = { - authorization_id: number; -}; - -type OauthAuthorizationsGetAuthorizationRequestOptions = { - method: "GET"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OauthAuthorizationsGetAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -type OauthAuthorizationsGetGrantEndpoint = { - grant_id: number; -}; - -type OauthAuthorizationsGetGrantRequestOptions = { - method: "GET"; - url: "/applications/grants/:grant_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OauthAuthorizationsGetGrantResponseData { - id: number; - url: string; - app: { - url: string; - name: string; - client_id: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; -} - -type OauthAuthorizationsGetOrCreateAuthorizationForAppEndpoint = { - client_id: string; - /** - * The 40 character OAuth app client secret associated with the client ID specified in the URL. - */ - client_secret: string; - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * A unique string to distinguish an authorization from others created for the same client and user. If provided, this API is functionally equivalent to [Get-or-create an authorization for a specific app and fingerprint](https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint). - */ - fingerprint?: string; -}; - -type OauthAuthorizationsGetOrCreateAuthorizationForAppRequestOptions = { - method: "PUT"; - url: "/authorizations/clients/:client_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppResponse201Data { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintEndpoint = { - client_id: string; - - fingerprint: string; - /** - * The 40 character OAuth app client secret associated with the client ID specified in the URL. - */ - client_secret: string; - /** - * A list of scopes that this authorization is in. - */ - scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; -}; - -type OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintRequestOptions = { - method: "PUT"; - url: "/authorizations/clients/:client_id/:fingerprint"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -export interface OauthAuthorizationsGetOrCreateAuthorizationForAppAndFingerprintResponse201Data { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -type OauthAuthorizationsListAuthorizationsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OauthAuthorizationsListAuthorizationsRequestOptions = { - method: "GET"; - url: "/authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OauthAuthorizationsListAuthorizationsResponseData = { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -}[]; - -type OauthAuthorizationsListGrantsEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OauthAuthorizationsListGrantsRequestOptions = { - method: "GET"; - url: "/applications/grants"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OauthAuthorizationsListGrantsResponseData = { - id: number; - url: string; - app: { - url: string; - name: string; - client_id: string; - }; - created_at: string; - updated_at: string; - scopes: string[]; -}[]; - -type OauthAuthorizationsUpdateAuthorizationEndpoint = { - authorization_id: number; - /** - * Replaces the authorization scopes with these. - */ - scopes?: string[]; - /** - * A list of scopes to add to this authorization. - */ - add_scopes?: string[]; - /** - * A list of scopes to remove from this authorization. - */ - remove_scopes?: string[]; - /** - * A note to remind you what the OAuth token is for. Tokens not associated with a specific OAuth application (i.e. personal access tokens) must have a unique note. - */ - note?: string; - /** - * A URL to remind you what app the OAuth token is for. - */ - note_url?: string; - /** - * A unique string to distinguish an authorization from others created for the same client ID and user. - */ - fingerprint?: string; -}; - -type OauthAuthorizationsUpdateAuthorizationRequestOptions = { - method: "PATCH"; - url: "/authorizations/:authorization_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OauthAuthorizationsUpdateAuthorizationResponseData { - id: number; - url: string; - scopes: string[]; - token: string; - token_last_eight: string; - hashed_token: string; - app: { - url: string; - name: string; - client_id: string; - }; - note: string; - note_url: string; - updated_at: string; - created_at: string; - fingerprint: string; -} - -type OrgsBlockUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsBlockUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsCheckBlockedUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsCheckBlockedUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsCheckMembershipForUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsCheckMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsCheckPublicMembershipForUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsCheckPublicMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsConvertMemberToOutsideCollaboratorEndpoint = { - org: string; - - username: string; -}; - -type OrgsConvertMemberToOutsideCollaboratorRequestOptions = { - method: "PUT"; - url: "/orgs/:org/outside_collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsConvertMemberToOutsideCollaboratorResponseData { - message: string; - documentation_url: string; -} - -type OrgsCreateInvitationEndpoint = { - org: string; - /** - * **Required unless you provide `email`**. GitHub user ID for the person you are inviting. - */ - invitee_id?: number; - /** - * **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. - */ - email?: string; - /** - * Specify role for new member. Can be one of: - * \* `admin` - Organization owners with full administrative rights to the organization and complete access to all repositories and teams. - * \* `direct_member` - Non-owner organization members with ability to see other members and join teams by invitation. - * \* `billing_manager` - Non-owner organization members with ability to manage the billing settings of your organization. - */ - role?: "admin" | "direct_member" | "billing_manager"; - /** - * Specify IDs for the teams you want to invite new members to. - */ - team_ids?: number[]; -}; - -type OrgsCreateInvitationRequestOptions = { - method: "POST"; - url: "/orgs/:org/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsCreateInvitationResponseData { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -} - -type OrgsCreateWebhookEndpoint = { - org: string; - /** - * Must be passed as "web". - */ - name: string; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#create-hook-config-params). - */ - config: OrgsCreateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; - -type OrgsCreateWebhookRequestOptions = { - method: "POST"; - url: "/orgs/:org/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsCreateWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} - -type OrgsDeleteWebhookEndpoint = { - org: string; - - hook_id: number; -}; - -type OrgsDeleteWebhookRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsGetEndpoint = { - org: string; -}; - -type OrgsGetRequestOptions = { - method: "GET"; - url: "/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsGetResponseData { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos: number; - owned_private_repos: number; - private_gists: number; - disk_usage: number; - collaborators: number; - billing_email: string; - plan: { - name: string; - space: number; - private_repos: number; - seats: number; - filled_seats: number; - }; - default_repository_permission: string; - members_can_create_repositories: boolean; - two_factor_requirement_enabled: boolean; - members_allowed_repository_creation_type: string; - members_can_create_public_repositories: boolean; - members_can_create_private_repositories: boolean; - members_can_create_internal_repositories: boolean; -} - -type OrgsGetMembershipForAuthenticatedUserEndpoint = { - org: string; -}; - -type OrgsGetMembershipForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/memberships/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsGetMembershipForAuthenticatedUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type OrgsGetMembershipForUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsGetMembershipForUserRequestOptions = { - method: "GET"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsGetMembershipForUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type OrgsGetWebhookEndpoint = { - org: string; - - hook_id: number; -}; - -type OrgsGetWebhookRequestOptions = { - method: "GET"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsGetWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} - -type OrgsListEndpoint = { - /** - * The integer ID of the last organization that you've seen. - */ - since?: number; -}; - -type OrgsListRequestOptions = { - method: "GET"; - url: "/organizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; - -type OrgsListAppInstallationsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListAppInstallationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/installations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsListAppInstallationsResponseData { - total_count: number; - installations: { - id: number; - account: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repository_selection: "all" | "selected"; - access_tokens_url: string; - repositories_url: string; - html_url: string; - app_id: number; - target_id: number; - target_type: string; - permissions: { - deployments: string; - metadata: string; - pull_requests: string; - statuses: string; - }; - events: string[]; - created_at: string; - updated_at: string; - single_file_name: string; - }[]; -} - -type OrgsListBlockedUsersEndpoint = { - org: string; -}; - -type OrgsListBlockedUsersRequestOptions = { - method: "GET"; - url: "/orgs/:org/blocks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListBlockedUsersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type OrgsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListForAuthenticatedUserResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; - -type OrgsListForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListForUserResponseData = { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; -}[]; - -type OrgsListInvitationTeamsEndpoint = { - org: string; - - invitation_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListInvitationTeamsRequestOptions = { - method: "GET"; - url: "/orgs/:org/invitations/:invitation_id/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListInvitationTeamsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type OrgsListMembersEndpoint = { - org: string; - /** - * Filter members returned in the list. Can be one of: - * \* `2fa_disabled` - Members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. Available for organization owners. - * \* `all` - All members the authenticated user can see. - */ - filter?: "2fa_disabled" | "all"; - /** - * Filter members returned by their role. Can be one of: - * \* `all` - All members of the organization, regardless of role. - * \* `admin` - Organization owners. - * \* `member` - Non-owner organization members. - */ - role?: "all" | "admin" | "member"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListMembersRequestOptions = { - method: "GET"; - url: "/orgs/:org/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListMembersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type OrgsListMembershipsForAuthenticatedUserEndpoint = { - /** - * Indicates the state of the memberships to return. Can be either `active` or `pending`. If not specified, the API returns both active and pending memberships. - */ - state?: "active" | "pending"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListMembershipsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/memberships/orgs"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListMembershipsForAuthenticatedUserResponseData = { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; - -type OrgsListOutsideCollaboratorsEndpoint = { - org: string; - /** - * Filter the list of outside collaborators. Can be one of: - * \* `2fa_disabled`: Outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled. - * \* `all`: All outside collaborators. - */ - filter?: "2fa_disabled" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListOutsideCollaboratorsRequestOptions = { - method: "GET"; - url: "/orgs/:org/outside_collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListOutsideCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type OrgsListPendingInvitationsEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListPendingInvitationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListPendingInvitationsResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; - -type OrgsListPublicMembersEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListPublicMembersRequestOptions = { - method: "GET"; - url: "/orgs/:org/public_members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListPublicMembersResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type OrgsListSamlSsoAuthorizationsEndpoint = { - org: string; -}; - -type OrgsListSamlSsoAuthorizationsRequestOptions = { - method: "GET"; - url: "/orgs/:org/credential-authorizations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListSamlSsoAuthorizationsResponseData = { - login: string; - credential_id: string; - credential_type: string; - token_last_eight: string; - credential_authorized_at: string; - scopes: string[]; -}[]; - -type OrgsListWebhooksEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type OrgsListWebhooksRequestOptions = { - method: "GET"; - url: "/orgs/:org/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type OrgsListWebhooksResponseData = { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -}[]; - -type OrgsPingWebhookEndpoint = { - org: string; - - hook_id: number; -}; - -type OrgsPingWebhookRequestOptions = { - method: "POST"; - url: "/orgs/:org/hooks/:hook_id/pings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsRemoveMemberEndpoint = { - org: string; - - username: string; -}; - -type OrgsRemoveMemberRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsRemoveMembershipForUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsRemoveMembershipForUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsRemoveOutsideCollaboratorEndpoint = { - org: string; - - username: string; -}; - -type OrgsRemoveOutsideCollaboratorRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/outside_collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsRemoveOutsideCollaboratorResponseData { - message: string; - documentation_url: string; -} - -type OrgsRemovePublicMembershipForAuthenticatedUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsRemovePublicMembershipForAuthenticatedUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsRemoveSamlSsoAuthorizationEndpoint = { - org: string; - - credential_id: number; -}; - -type OrgsRemoveSamlSsoAuthorizationRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/credential-authorizations/:credential_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsSetMembershipForUserEndpoint = { - org: string; - - username: string; - /** - * The role to give the user in the organization. Can be one of: - * \* `admin` - The user will become an owner of the organization. - * \* `member` - The user will become a non-owner member of the organization. - */ - role?: "admin" | "member"; -}; - -type OrgsSetMembershipForUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsSetMembershipForUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type OrgsSetPublicMembershipForAuthenticatedUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsSetPublicMembershipForAuthenticatedUserRequestOptions = { - method: "PUT"; - url: "/orgs/:org/public_members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsUnblockUserEndpoint = { - org: string; - - username: string; -}; - -type OrgsUnblockUserRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type OrgsUpdateEndpoint = { - org: string; - /** - * Billing email address. This address is not publicized. - */ - billing_email?: string; - /** - * The company name. - */ - company?: string; - /** - * The publicly visible email address. - */ - email?: string; - /** - * The Twitter username of the company. - */ - twitter_username?: string; - /** - * The location. - */ - location?: string; - /** - * The shorthand name of the company. - */ - name?: string; - /** - * The description of the company. - */ - description?: string; - /** - * Toggles whether an organization can use organization projects. - */ - has_organization_projects?: boolean; - /** - * Toggles whether repositories that belong to the organization can use repository projects. - */ - has_repository_projects?: boolean; - /** - * Default permission level members have for organization repositories: - * \* `read` - can pull, but not push to or administer this repository. - * \* `write` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push, and administer this repository. - * \* `none` - no permissions granted by default. - */ - default_repository_permission?: "read" | "write" | "admin" | "none"; - /** - * Toggles the ability of non-admin organization members to create repositories. Can be one of: - * \* `true` - all organization members can create repositories. - * \* `false` - only organization owners can create repositories. - * Default: `true` - * **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. - */ - members_can_create_repositories?: boolean; - /** - * Toggles whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. Can be one of: - * \* `true` - all organization members can create internal repositories. - * \* `false` - only organization owners can create internal repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)". - */ - members_can_create_internal_repositories?: boolean; - /** - * Toggles whether organization members can create private repositories, which are visible to organization members with permission. Can be one of: - * \* `true` - all organization members can create private repositories. - * \* `false` - only organization owners can create private repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)". - */ - members_can_create_private_repositories?: boolean; - /** - * Toggles whether organization members can create public repositories, which are visible to anyone. Can be one of: - * \* `true` - all organization members can create public repositories. - * \* `false` - only organization owners can create public repositories. - * Default: `true`. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)". - */ - members_can_create_public_repositories?: boolean; - /** - * Specifies which types of repositories non-admin organization members can create. Can be one of: - * \* `all` - all organization members can create public and private repositories. - * \* `private` - members can create private repositories. This option is only available to repositories that are part of an organization on GitHub Enterprise Cloud. - * \* `none` - only admin members can create repositories. - * **Note:** This parameter is deprecated and will be removed in the future. Its return value ignores internal repositories. Using this parameter overrides values set in `members_can_create_repositories`. See [this note](https://developer.github.com/v3/orgs/#members_can_create_repositories) for details. - */ - members_allowed_repository_creation_type?: "all" | "private" | "none"; -}; - -type OrgsUpdateRequestOptions = { - method: "PATCH"; - url: "/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsUpdateResponseData { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - total_private_repos: number; - owned_private_repos: number; - private_gists: number; - disk_usage: number; - collaborators: number; - billing_email: string; - plan: { - name: string; - space: number; - private_repos: number; - seats: number; - filled_seats: number; - }; - default_repository_permission: string; - members_can_create_repositories: boolean; - two_factor_requirement_enabled: boolean; - members_allowed_repository_creation_type: string; - members_can_create_public_repositories: boolean; - members_can_create_private_repositories: boolean; - members_can_create_internal_repositories: boolean; -} - -type OrgsUpdateMembershipForAuthenticatedUserEndpoint = { - org: string; - /** - * The state that the membership should be in. Only `"active"` will be accepted. - */ - state: "active"; -}; - -type OrgsUpdateMembershipForAuthenticatedUserRequestOptions = { - method: "PATCH"; - url: "/user/memberships/orgs/:org"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsUpdateMembershipForAuthenticatedUserResponseData { - url: string; - state: string; - role: string; - organization_url: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type OrgsUpdateWebhookEndpoint = { - org: string; - - hook_id: number; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/orgs/hooks/#update-hook-config-params). - */ - config?: OrgsUpdateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; - -type OrgsUpdateWebhookRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface OrgsUpdateWebhookResponseData { - id: number; - url: string; - ping_url: string; - name: string; - events: string[]; - active: boolean; - config: { - url: string; - content_type: string; - }; - updated_at: string; - created_at: string; -} - -type ProjectsAddCollaboratorEndpoint = { - project_id: number; - - username: string; - /** - * The permission to grant the collaborator. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." Can be one of: - * \* `read` - can read, but not write to or administer this project. - * \* `write` - can read and write, but not administer this project. - * \* `admin` - can read, write and administer this project. - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; - -type ProjectsAddCollaboratorRequestOptions = { - method: "PUT"; - url: "/projects/:project_id/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsCreateCardEndpoint = { - column_id: number; - /** - * The card's note content. Only valid for cards without another type of content, so you must omit when specifying `content_id` and `content_type`. - */ - note?: string; - /** - * The issue or pull request id you want to associate with this card. You can use the [List repository issues](https://developer.github.com/v3/issues/#list-repository-issues) and [List pull requests](https://developer.github.com/v3/pulls/#list-pull-requests) endpoints to find this id. - * **Note:** Depending on whether you use the issue id or pull request id, you will need to specify `Issue` or `PullRequest` as the `content_type`. - */ - content_id?: number; - /** - * **Required if you provide `content_id`**. The type of content you want to associate with this card. Use `Issue` when `content_id` is an issue id and use `PullRequest` when `content_id` is a pull request id. - */ - content_type?: string; -} & RequiredPreview<"inertia">; - -type ProjectsCreateCardRequestOptions = { - method: "POST"; - url: "/projects/columns/:column_id/cards"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsCreateCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} - -type ProjectsCreateColumnEndpoint = { - project_id: number; - /** - * The name of the column. - */ - name: string; -} & RequiredPreview<"inertia">; - -type ProjectsCreateColumnRequestOptions = { - method: "POST"; - url: "/projects/:project_id/columns"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsCreateColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} - -type ProjectsCreateForAuthenticatedUserEndpoint = { - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; - -type ProjectsCreateForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsCreateForAuthenticatedUserResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ProjectsCreateForOrgEndpoint = { - org: string; - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; - -type ProjectsCreateForOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsCreateForOrgResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ProjectsCreateForRepoEndpoint = { - owner: string; - - repo: string; - /** - * The name of the project. - */ - name: string; - /** - * The description of the project. - */ - body?: string; -} & RequiredPreview<"inertia">; - -type ProjectsCreateForRepoRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsCreateForRepoResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ProjectsDeleteEndpoint = { - project_id: number; -} & RequiredPreview<"inertia">; - -type ProjectsDeleteRequestOptions = { - method: "DELETE"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsDeleteCardEndpoint = { - card_id: number; -} & RequiredPreview<"inertia">; - -type ProjectsDeleteCardRequestOptions = { - method: "DELETE"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsDeleteColumnEndpoint = { - column_id: number; -} & RequiredPreview<"inertia">; - -type ProjectsDeleteColumnRequestOptions = { - method: "DELETE"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsGetEndpoint = { - project_id: number; -} & RequiredPreview<"inertia">; - -type ProjectsGetRequestOptions = { - method: "GET"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsGetResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ProjectsGetCardEndpoint = { - card_id: number; -} & RequiredPreview<"inertia">; - -type ProjectsGetCardRequestOptions = { - method: "GET"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsGetCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} - -type ProjectsGetColumnEndpoint = { - column_id: number; -} & RequiredPreview<"inertia">; - -type ProjectsGetColumnRequestOptions = { - method: "GET"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsGetColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} - -type ProjectsGetPermissionForUserEndpoint = { - project_id: number; - - username: string; -} & RequiredPreview<"inertia">; - -type ProjectsGetPermissionForUserRequestOptions = { - method: "GET"; - url: "/projects/:project_id/collaborators/:username/permission"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsGetPermissionForUserResponseData { - permission: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type ProjectsListCardsEndpoint = { - column_id: number; - /** - * Filters the project cards that are returned by the card's state. Can be one of `all`,`archived`, or `not_archived`. - */ - archived_state?: "all" | "archived" | "not_archived"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type ProjectsListCardsRequestOptions = { - method: "GET"; - url: "/projects/columns/:column_id/cards"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ProjectsListCardsResponseData = { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -}[]; - -type ProjectsListCollaboratorsEndpoint = { - project_id: number; - /** - * Filters the collaborators by their affiliation. Can be one of: - * \* `outside`: Outside collaborators of a project that are not a member of the project's organization. - * \* `direct`: Collaborators with permissions to a project, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type ProjectsListCollaboratorsRequestOptions = { - method: "GET"; - url: "/projects/:project_id/collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ProjectsListCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type ProjectsListColumnsEndpoint = { - project_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type ProjectsListColumnsRequestOptions = { - method: "GET"; - url: "/projects/:project_id/columns"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ProjectsListColumnsResponseData = { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -}[]; - -type ProjectsListForOrgEndpoint = { - org: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type ProjectsListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ProjectsListForOrgResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type ProjectsListForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type ProjectsListForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ProjectsListForRepoResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type ProjectsListForUserEndpoint = { - username: string; - /** - * Indicates the state of the projects to return. Can be either `open`, `closed`, or `all`. - */ - state?: "open" | "closed" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type ProjectsListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ProjectsListForUserResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type ProjectsMoveCardEndpoint = { - card_id: number; - /** - * Can be one of `top`, `bottom`, or `after:`, where `` is the `id` value of a card in the same column, or in the new column specified by `column_id`. - */ - position: string; - /** - * The `id` value of a column in the same project. - */ - column_id?: number; -} & RequiredPreview<"inertia">; - -type ProjectsMoveCardRequestOptions = { - method: "POST"; - url: "/projects/columns/cards/:card_id/moves"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsMoveColumnEndpoint = { - column_id: number; - /** - * Can be one of `first`, `last`, or `after:`, where `` is the `id` value of a column in the same project. - */ - position: string; -} & RequiredPreview<"inertia">; - -type ProjectsMoveColumnRequestOptions = { - method: "POST"; - url: "/projects/columns/:column_id/moves"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsRemoveCollaboratorEndpoint = { - project_id: number; - - username: string; -} & RequiredPreview<"inertia">; - -type ProjectsRemoveCollaboratorRequestOptions = { - method: "DELETE"; - url: "/projects/:project_id/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ProjectsUpdateEndpoint = { - project_id: number; - /** - * The name of the project. - */ - name?: string; - /** - * The description of the project. - */ - body?: string; - /** - * State of the project. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The permission level that determines whether all members of the project's organization can see and/or make changes to the project. Setting `organization_permission` is only available for organization projects. If an organization member belongs to a team with a higher level of access or is a collaborator with a higher level of access, their permission level is not lowered by `organization_permission`. For information on changing access for a team or collaborator, see [Add or update team project permissions](https://developer.github.com/v3/teams/#add-or-update-team-project-permissions) or [Add project collaborator](https://developer.github.com/v3/projects/collaborators/#add-project-collaborator). - * - * **Note:** Updating a project's `organization_permission` requires `admin` access to the project. - * - * Can be one of: - * \* `read` - Organization members can read, but not write to or administer this project. - * \* `write` - Organization members can read and write, but not administer this project. - * \* `admin` - Organization members can read, write and administer this project. - * \* `none` - Organization members can only see this project if it is public. - */ - organization_permission?: string; - /** - * Sets the visibility of a project board. Setting `private` is only available for organization and user projects. **Note:** Updating a project's visibility requires `admin` access to the project. - * - * Can be one of: - * \* `false` - Anyone can see the project. - * \* `true` - Only the user can view a project board created on a user account. Organization members with the appropriate `organization_permission` can see project boards in an organization account. - */ - private?: boolean; -} & RequiredPreview<"inertia">; - -type ProjectsUpdateRequestOptions = { - method: "PATCH"; - url: "/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsUpdateResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ProjectsUpdateCardEndpoint = { - card_id: number; - /** - * The card's note content. Only valid for cards without another type of content, so this cannot be specified if the card already has a `content_id` and `content_type`. - */ - note?: string; - /** - * Use `true` to archive a project card. Specify `false` if you need to restore a previously archived project card. - */ - archived?: boolean; -} & RequiredPreview<"inertia">; - -type ProjectsUpdateCardRequestOptions = { - method: "PATCH"; - url: "/projects/columns/cards/:card_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsUpdateCardResponseData { - url: string; - id: number; - node_id: string; - note: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - archived: boolean; - column_url: string; - content_url: string; - project_url: string; -} - -type ProjectsUpdateColumnEndpoint = { - column_id: number; - /** - * The new name of the column. - */ - name: string; -} & RequiredPreview<"inertia">; - -type ProjectsUpdateColumnRequestOptions = { - method: "PATCH"; - url: "/projects/columns/:column_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ProjectsUpdateColumnResponseData { - url: string; - project_url: string; - cards_url: string; - id: number; - node_id: string; - name: string; - created_at: string; - updated_at: string; -} - -type PullsCheckIfMergedEndpoint = { - owner: string; - - repo: string; - - pull_number: number; -}; - -type PullsCheckIfMergedRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/merge"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type PullsCreateEndpoint = { - owner: string; - - repo: string; - /** - * The title of the new pull request. - */ - title: string; - /** - * The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. - */ - head: string; - /** - * The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. - */ - base: string; - /** - * The contents of the pull request. - */ - body?: string; - /** - * Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. - */ - maintainer_can_modify?: boolean; - /** - * Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://docs.github.com/en/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. - */ - draft?: boolean; -}; - -type PullsCreateRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsCreateResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} - -type PullsCreateReplyForReviewCommentEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - comment_id: number; - /** - * The text of the review comment. - */ - body: string; -}; - -type PullsCreateReplyForReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments/:comment_id/replies"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsCreateReplyForReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} - -type PullsCreateReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. - */ - commit_id?: string; - /** - * **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. - */ - body?: string; - /** - * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. By leaving this blank, you set the review action state to `PENDING`, which means you will need to [submit the pull request review](https://developer.github.com/v3/pulls/reviews/#submit-a-review-for-a-pull-request) when you are ready. - */ - event?: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; - /** - * Use the following table to specify the location, destination, and contents of the draft review comment. - */ - comments?: PullsCreateReviewParamsComments[]; -}; - -type PullsCreateReviewRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsCreateReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} - -type PullsCreateReviewCommentEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * The text of the review comment. - */ - body: string; - /** - * The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. - */ - commit_id: string; - /** - * The relative path to the file that necessitates a comment. - */ - path: string; - /** - * **Required without `comfort-fade` preview**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. For help finding the position value, read the note above. - */ - position?: number; - /** - * **Required with `comfort-fade` preview**. In a split diff view, the side of the diff that the pull request's changes appear on. Can be `LEFT` or `RIGHT`. Use `LEFT` for deletions that appear in red. Use `RIGHT` for additions that appear in green or unchanged lines that appear in white and are shown for context. For a multi-line comment, side represents whether the last line of the comment range is a deletion or addition. For more information, see "[Diff view options](https://docs.github.com/en/articles/about-comparing-branches-in-pull-requests#diff-view-options)". - */ - side?: "LEFT" | "RIGHT"; - /** - * **Required with `comfort-fade` preview**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. - */ - line?: number; - /** - * **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)". - */ - start_line?: number; - /** - * **Required when using multi-line comments**. To create multi-line comments, you must use the `comfort-fade` preview header. The `start_side` is the starting side of the diff that the comment applies to. Can be `LEFT` or `RIGHT`. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/en/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)". See `side` in this table for additional context. - */ - start_side?: "LEFT" | "RIGHT" | "side"; -}; - -type PullsCreateReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsCreateReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} - -type PullsDeletePendingReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - review_id: number; -}; - -type PullsDeletePendingReviewRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsDeletePendingReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - commit_id: string; -} - -type PullsDeleteReviewCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; -}; - -type PullsDeleteReviewCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type PullsDismissReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - review_id: number; - /** - * The message for the pull request review dismissal - */ - message: string; -}; - -type PullsDismissReviewRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsDismissReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} - -type PullsGetEndpoint = { - owner: string; - - repo: string; - - pull_number: number; -}; - -type PullsGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsGetResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} - -type PullsGetReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - review_id: number; -}; - -type PullsGetReviewRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsGetReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} - -type PullsGetReviewCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; -}; - -type PullsGetReviewCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsGetReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} - -type PullsListEndpoint = { - owner: string; - - repo: string; - /** - * Either `open`, `closed`, or `all` to filter by state. - */ - state?: "open" | "closed" | "all"; - /** - * Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`. - */ - head?: string; - /** - * Filter pulls by base branch name. Example: `gh-pages`. - */ - base?: string; - /** - * What to sort results by. Can be either `created`, `updated`, `popularity` (comment count) or `long-running` (age, filtering by pulls updated in the last month). - */ - sort?: "created" | "updated" | "popularity" | "long-running"; - /** - * The direction of the sort. Can be either `asc` or `desc`. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListResponseData = { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -}[]; - -type PullsListCommentsForReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - review_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListCommentsForReviewRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListCommentsForReviewResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; -}[]; - -type PullsListCommitsEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListCommitsResponseData = { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; -}[]; - -type PullsListFilesEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListFilesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/files"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListFilesResponseData = { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch: string; -}[]; - -type PullsListRequestedReviewersEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListRequestedReviewersRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsListRequestedReviewersResponseData { - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; -} - -type PullsListReviewCommentsEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * Can be either `created` or `updated` comments. - */ - sort?: "created" | "updated"; - /** - * Can be either `asc` or `desc`. Ignored without `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListReviewCommentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListReviewCommentsResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -}[]; - -type PullsListReviewCommentsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Can be either `created` or `updated` comments. - */ - sort?: "created" | "updated"; - /** - * Can be either `asc` or `desc`. Ignored without `sort` parameter. - */ - direction?: "asc" | "desc"; - /** - * This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Only returns comments `updated` at or after this time. - */ - since?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListReviewCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListReviewCommentsForRepoResponseData = { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -}[]; - -type PullsListReviewsEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type PullsListReviewsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type PullsListReviewsResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -}[]; - -type PullsMergeEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * Title for the automatic commit message. - */ - commit_title?: string; - /** - * Extra detail to append to automatic commit message. - */ - commit_message?: string; - /** - * SHA that pull request head must match to allow merge. - */ - sha?: string; - /** - * Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default is `merge`. - */ - merge_method?: "merge" | "squash" | "rebase"; -}; - -type PullsMergeRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/merge"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsMergeResponseData { - sha: string; - merged: boolean; - message: string; -} - -export interface PullsMergeResponse405Data { - message: string; - documentation_url: string; -} - -export interface PullsMergeResponse409Data { - message: string; - documentation_url: string; -} - -type PullsRemoveRequestedReviewersEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * An array of user `login`s that will be removed. - */ - reviewers?: string[]; - /** - * An array of team `slug`s that will be removed. - */ - team_reviewers?: string[]; -}; - -type PullsRemoveRequestedReviewersRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type PullsRequestReviewersEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * An array of user `login`s that will be requested. - */ - reviewers?: string[]; - /** - * An array of team `slug`s that will be requested. - */ - team_reviewers?: string[]; -}; - -type PullsRequestReviewersRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/requested_reviewers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsRequestReviewersResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -} - -type PullsSubmitReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - review_id: number; - /** - * The body text of the pull request review - */ - body?: string; - /** - * The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action. - */ - event: "APPROVE" | "REQUEST_CHANGES" | "COMMENT"; -}; - -type PullsSubmitReviewRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/events"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsSubmitReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} - -type PullsUpdateEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * The title of the pull request. - */ - title?: string; - /** - * The contents of the pull request. - */ - body?: string; - /** - * State of this Pull Request. Either `open` or `closed`. - */ - state?: "open" | "closed"; - /** - * The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. - */ - base?: string; - /** - * Indicates whether [maintainers can modify](https://docs.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. - */ - maintainer_can_modify?: boolean; -}; - -type PullsUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/pulls/:pull_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsUpdateResponseData { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; - merged: boolean; - mergeable: boolean; - rebaseable: boolean; - mergeable_state: string; - merged_by: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - comments: number; - review_comments: number; - maintainer_can_modify: boolean; - commits: number; - additions: number; - deletions: number; - changed_files: number; -} - -type PullsUpdateBranchEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - /** - * The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://developer.github.com/v3/repos/commits/#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. - */ - expected_head_sha?: string; -} & RequiredPreview<"lydian">; - -type PullsUpdateBranchRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/update-branch"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsUpdateBranchResponseData { - message: string; - url: string; -} - -type PullsUpdateReviewEndpoint = { - owner: string; - - repo: string; - - pull_number: number; - - review_id: number; - /** - * The body text of the pull request review. - */ - body: string; -}; - -type PullsUpdateReviewRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsUpdateReviewResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - state: string; - html_url: string; - pull_request_url: string; - _links: { - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - submitted_at: string; - commit_id: string; -} - -type PullsUpdateReviewCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * The text of the reply to the review comment. - */ - body: string; -}; - -type PullsUpdateReviewCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface PullsUpdateReviewCommentResponseData { - url: string; - pull_request_review_id: number; - id: number; - node_id: string; - diff_hunk: string; - path: string; - position: number; - original_position: number; - commit_id: string; - original_commit_id: string; - in_reply_to_id: number; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - created_at: string; - updated_at: string; - html_url: string; - pull_request_url: string; - author_association: string; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - pull_request: { - href: string; - }; - }; - start_line: number; - original_start_line: number; - start_side: string; - line: number; - original_line: number; - side: string; -} - -type RateLimitGetEndpoint = {}; - -type RateLimitGetRequestOptions = { - method: "GET"; - url: "/rate_limit"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface RateLimitGetResponseData { - resources: { - core: { - limit: number; - remaining: number; - reset: number; - }; - search: { - limit: number; - remaining: number; - reset: number; - }; - graphql: { - limit: number; - remaining: number; - reset: number; - }; - integration_manifest: { - limit: number; - remaining: number; - reset: number; - }; - }; - rate: { - limit: number; - remaining: number; - reset: number; - }; -} - -type ReactionsCreateForCommitCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the commit comment. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForCommitCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForCommitCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForIssueEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForIssueRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForIssueResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForIssueCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the issue comment. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForIssueCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForIssueCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForPullRequestReviewCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the pull request review comment. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForPullRequestReviewCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForPullRequestReviewCommentResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForTeamDiscussionCommentInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - comment_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForTeamDiscussionCommentInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForTeamDiscussionCommentInOrgResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForTeamDiscussionCommentLegacyEndpoint = { - team_id: number; - - discussion_number: number; - - comment_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion comment. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForTeamDiscussionCommentLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForTeamDiscussionCommentLegacyResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForTeamDiscussionInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForTeamDiscussionInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForTeamDiscussionInOrgResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsCreateForTeamDiscussionLegacyEndpoint = { - team_id: number; - - discussion_number: number; - /** - * The [reaction type](https://developer.github.com/v3/reactions/#reaction-types) to add to the team discussion. - */ - content: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsCreateForTeamDiscussionLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReactionsCreateForTeamDiscussionLegacyResponseData { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -} - -type ReactionsDeleteForCommitCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteForCommitCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsDeleteForIssueEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteForIssueRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsDeleteForIssueCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteForIssueCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsDeleteForPullRequestCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteForPullRequestCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsDeleteForTeamDiscussionEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteForTeamDiscussionRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsDeleteForTeamDiscussionCommentEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - comment_number: number; - - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteForTeamDiscussionCommentRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsDeleteLegacyEndpoint = { - reaction_id: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsDeleteLegacyRequestOptions = { - method: "DELETE"; - url: "/reactions/:reaction_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReactionsListForCommitCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a commit comment. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForCommitCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForCommitCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForIssueEndpoint = { - owner: string; - - repo: string; - - issue_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForIssueRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/:issue_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForIssueResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForIssueCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to an issue comment. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForIssueCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/issues/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForIssueCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForPullRequestReviewCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a pull request review comment. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForPullRequestReviewCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pulls/comments/:comment_id/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForPullRequestReviewCommentResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForTeamDiscussionCommentInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - comment_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForTeamDiscussionCommentInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForTeamDiscussionCommentInOrgResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForTeamDiscussionCommentLegacyEndpoint = { - team_id: number; - - discussion_number: number; - - comment_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion comment. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForTeamDiscussionCommentLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForTeamDiscussionCommentLegacyResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForTeamDiscussionInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForTeamDiscussionInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForTeamDiscussionInOrgResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReactionsListForTeamDiscussionLegacyEndpoint = { - team_id: number; - - discussion_number: number; - /** - * Returns a single [reaction type](https://developer.github.com/v3/reactions/#reaction-types). Omit this parameter to list all reactions to a team discussion. - */ - content?: - | "+1" - | "-1" - | "laugh" - | "confused" - | "heart" - | "hooray" - | "rocket" - | "eyes"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"squirrel-girl">; - -type ReactionsListForTeamDiscussionLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/reactions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReactionsListForTeamDiscussionLegacyResponseData = { - id: number; - node_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - content: string; - created_at: string; -}[]; - -type ReposAcceptInvitationEndpoint = { - invitation_id: number; -}; - -type ReposAcceptInvitationRequestOptions = { - method: "PATCH"; - url: "/user/repository_invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposAddAppAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; - -type ReposAddAppAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposAddAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; - -type ReposAddCollaboratorEndpoint = { - owner: string; - - repo: string; - - username: string; - /** - * The permission to grant the collaborator. **Only valid on organization-owned repositories.** Can be one of: - * \* `pull` - can pull, but not push to or administer this repository. - * \* `push` - can pull and push, but not administer this repository. - * \* `admin` - can pull, push and administer this repository. - * \* `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions. - * \* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; -}; - -type ReposAddCollaboratorRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposAddCollaboratorResponseData { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -} - -type ReposAddStatusCheckContextsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; - -type ReposAddStatusCheckContextsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposAddStatusCheckContextsResponseData = string[]; - -type ReposAddTeamAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; - -type ReposAddTeamAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposAddTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type ReposAddUserAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * users parameter - */ - users: string[]; -}; - -type ReposAddUserAccessRestrictionsRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposAddUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type ReposCheckCollaboratorEndpoint = { - owner: string; - - repo: string; - - username: string; -}; - -type ReposCheckCollaboratorRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposCheckVulnerabilityAlertsEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"dorian">; - -type ReposCheckVulnerabilityAlertsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposCompareCommitsEndpoint = { - owner: string; - - repo: string; - - base: string; - - head: string; -}; - -type ReposCompareCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/compare/:base...:head"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCompareCommitsResponseData { - url: string; - html_url: string; - permalink_url: string; - diff_url: string; - patch_url: string; - base_commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }; - merge_base_commit: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }; - status: string; - ahead_by: number; - behind_by: number; - total_commits: number; - commits: { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - }[]; - files: { - sha: string; - filename: string; - status: string; - additions: number; - deletions: number; - changes: number; - blob_url: string; - raw_url: string; - contents_url: string; - patch: string; - }[]; -} - -type ReposCreateCommitCommentEndpoint = { - owner: string; - - repo: string; - - commit_sha: string; - /** - * The contents of the comment. - */ - body: string; - /** - * Relative path of the file to comment on. - */ - path?: string; - /** - * Line index in the diff to comment on. - */ - position?: number; - /** - * **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. - */ - line?: number | null; -}; - -type ReposCreateCommitCommentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/commits/:commit_sha/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ReposCreateCommitSignatureProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -} & RequiredPreview<"zzzax">; - -type ReposCreateCommitSignatureProtectionRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateCommitSignatureProtectionResponseData { - url: string; - enabled: boolean; -} - -type ReposCreateCommitStatusEndpoint = { - owner: string; - - repo: string; - - sha: string; - /** - * The state of the status. Can be one of `error`, `failure`, `pending`, or `success`. - */ - state: "error" | "failure" | "pending" | "success"; - /** - * The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. - * For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: - * `http://ci.example.com/user/repo/build/sha` - */ - target_url?: string; - /** - * A short description of the status. - */ - description?: string; - /** - * A string label to differentiate this status from the status of other systems. - */ - context?: string; -}; - -type ReposCreateCommitStatusRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/statuses/:sha"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateCommitStatusResponseData { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type ReposCreateDeployKeyEndpoint = { - owner: string; - - repo: string; - /** - * A name for the key. - */ - title?: string; - /** - * The contents of the key. - */ - key: string; - /** - * If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. - * - * Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://docs.github.com/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://docs.github.com/articles/permission-levels-for-a-user-account-repository/)." - */ - read_only?: boolean; -}; - -type ReposCreateDeployKeyRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateDeployKeyResponseData { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -} - -type ReposCreateDeploymentEndpoint = { - owner: string; - - repo: string; - /** - * The ref to deploy. This can be a branch, tag, or SHA. - */ - ref: string; - /** - * Specifies a task to execute (e.g., `deploy` or `deploy:migrations`). - */ - task?: string; - /** - * Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch. - */ - auto_merge?: boolean; - /** - * The [status](https://developer.github.com/v3/repos/statuses/) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. - */ - required_contexts?: string[]; - /** - * JSON payload with extra information about the deployment. - */ - payload?: any; - /** - * Name for the target deployment environment (e.g., `production`, `staging`, `qa`). - */ - environment?: string; - /** - * Short description of the deployment. - */ - description?: string; - /** - * Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - transient_environment?: boolean; - /** - * Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - production_environment?: boolean; -}; - -type ReposCreateDeploymentRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/deployments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateDeploymentResponseData { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -} - -export interface ReposCreateDeploymentResponse202Data { - message: string; -} - -export interface ReposCreateDeploymentResponse409Data { - message: string; -} - -type ReposCreateDeploymentStatusEndpoint = { - owner: string; - - repo: string; - - deployment_id: number; - /** - * The state of the status. Can be one of `error`, `failure`, `inactive`, `in_progress`, `queued` `pending`, or `success`. **Note:** To use the `inactive` state, you must provide the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. To use the `in_progress` and `queued` states, you must provide the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. When you set a transient deployment to `inactive`, the deployment will be shown as `destroyed` in GitHub. - */ - state: - | "error" - | "failure" - | "inactive" - | "in_progress" - | "queued" - | "pending" - | "success"; - /** - * The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment. **Note:** It's recommended to use the `log_url` parameter, which replaces `target_url`. - */ - target_url?: string; - /** - * The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - log_url?: string; - /** - * A short description of the status. The maximum description length is 140 characters. - */ - description?: string; - /** - * Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. **Note:** This parameter requires you to use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. - */ - environment?: "production" | "staging" | "qa"; - /** - * Sets the URL for accessing your environment. Default: `""` - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - environment_url?: string; - /** - * Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` - * **Note:** To add an `inactive` status to `production` environments, you must use the [`application/vnd.github.flash-preview+json`](https://developer.github.com/v3/previews/#deployment-statuses) custom media type. - * **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. - */ - auto_inactive?: boolean; -}; - -type ReposCreateDeploymentStatusRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateDeploymentStatusResponseData { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -} - -type ReposCreateDispatchEventEndpoint = { - owner: string; - - repo: string; - /** - * **Required:** A custom webhook event name. - */ - event_type: string; - /** - * JSON payload with extra information about the webhook event that your action or worklow may use. - */ - client_payload?: ReposCreateDispatchEventParamsClientPayload; -}; - -type ReposCreateDispatchEventRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/dispatches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposCreateForAuthenticatedUserEndpoint = { - /** - * The name of the repository. - */ - name: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to create a private repository or `false` to create a public one. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-an-internal-repository)". - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. - */ - team_id?: number; - /** - * Pass `true` to create an initial commit with empty README. - */ - auto_init?: boolean; - /** - * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". - */ - gitignore_template?: string; - /** - * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". - */ - license_template?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; -}; - -type ReposCreateForAuthenticatedUserRequestOptions = { - method: "POST"; - url: "/user/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateForAuthenticatedUserResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} - -type ReposCreateForkEndpoint = { - owner: string; - - repo: string; - /** - * Optional parameter to specify the organization name if forking into an organization. - */ - organization?: string; -}; - -type ReposCreateForkRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateForkResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} - -type ReposCreateInOrgEndpoint = { - org: string; - /** - * The name of the repository. - */ - name: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to create a private repository or `false` to create a public one. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. For more information, see "[Creating an internal repository](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-repository-visibility#about-internal-repositories)". - * The `visibility` parameter overrides the `private` parameter when you use both parameters with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. - */ - team_id?: number; - /** - * Pass `true` to create an initial commit with empty README. - */ - auto_init?: boolean; - /** - * Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". - */ - gitignore_template?: string; - /** - * Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". - */ - license_template?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; -}; - -type ReposCreateInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateInOrgResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} - -type ReposCreateOrUpdateFileContentsEndpoint = { - owner: string; - - repo: string; - - path: string; - /** - * The commit message. - */ - message: string; - /** - * The new file content, using Base64 encoding. - */ - content: string; - /** - * **Required if you are updating a file**. The blob SHA of the file being replaced. - */ - sha?: string; - /** - * The branch name. Default: the repository’s default branch (usually `master`) - */ - branch?: string; - /** - * The person that committed the file. Default: the authenticated user. - */ - committer?: ReposCreateOrUpdateFileContentsParamsCommitter; - /** - * The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. - */ - author?: ReposCreateOrUpdateFileContentsParamsAuthor; -}; - -type ReposCreateOrUpdateFileContentsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateOrUpdateFileContentsResponseData { - content: { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - _links: { - self: string; - git: string; - html: string; - }; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} - -export interface ReposCreateOrUpdateFileContentsResponse201Data { - content: { - name: string; - path: string; - sha: string; - size: number; - url: string; - html_url: string; - git_url: string; - download_url: string; - type: string; - _links: { - self: string; - git: string; - html: string; - }; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} - -type ReposCreatePagesSiteEndpoint = { - owner: string; - - repo: string; - /** - * The source branch and directory used to publish your Pages site. - */ - source: ReposCreatePagesSiteParamsSource; -} & RequiredPreview<"switcheroo">; - -type ReposCreatePagesSiteRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreatePagesSiteResponseData { - url: string; - status: string; - cname: string; - custom_404: boolean; - html_url: string; - source: { - branch: string; - directory: string; - }; -} - -type ReposCreateReleaseEndpoint = { - owner: string; - - repo: string; - /** - * The name of the tag. - */ - tag_name: string; - /** - * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). - */ - target_commitish?: string; - /** - * The name of the release. - */ - name?: string; - /** - * Text describing the contents of the tag. - */ - body?: string; - /** - * `true` to create a draft (unpublished) release, `false` to create a published one. - */ - draft?: boolean; - /** - * `true` to identify the release as a prerelease. `false` to identify the release as a full release. - */ - prerelease?: boolean; -}; - -type ReposCreateReleaseRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/releases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: unknown[]; -} - -type ReposCreateUsingTemplateEndpoint = { - template_owner: string; - - template_repo: string; - /** - * The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. - */ - owner?: string; - /** - * The name of the new repository. - */ - name: string; - /** - * A short description of the new repository. - */ - description?: string; - /** - * Either `true` to create a new private repository or `false` to create a new public one. - */ - private?: boolean; -} & RequiredPreview<"baptiste">; - -type ReposCreateUsingTemplateRequestOptions = { - method: "POST"; - url: "/repos/:template_owner/:template_repo/generate"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateUsingTemplateResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} - -type ReposCreateWebhookEndpoint = { - owner: string; - - repo: string; - /** - * Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. - */ - name?: string; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params). - */ - config: ReposCreateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. - */ - events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; - -type ReposCreateWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposCreateWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} - -type ReposDeclineInvitationEndpoint = { - invitation_id: number; -}; - -type ReposDeclineInvitationRequestOptions = { - method: "DELETE"; - url: "/user/repository_invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteEndpoint = { - owner: string; - - repo: string; -}; - -type ReposDeleteRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposDeleteResponseData { - message: string; - documentation_url: string; -} - -type ReposDeleteAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposDeleteAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteAdminBranchProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposDeleteAdminBranchProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteBranchProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposDeleteBranchProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteCommitCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; -}; - -type ReposDeleteCommitCommentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteCommitSignatureProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -} & RequiredPreview<"zzzax">; - -type ReposDeleteCommitSignatureProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteDeployKeyEndpoint = { - owner: string; - - repo: string; - - key_id: number; -}; - -type ReposDeleteDeployKeyRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteDeploymentEndpoint = { - owner: string; - - repo: string; - - deployment_id: number; -}; - -type ReposDeleteDeploymentRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/deployments/:deployment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteFileEndpoint = { - owner: string; - - repo: string; - - path: string; - /** - * The commit message. - */ - message: string; - /** - * The blob SHA of the file being replaced. - */ - sha: string; - /** - * The branch name. Default: the repository’s default branch (usually `master`) - */ - branch?: string; - /** - * object containing information about the committer. - */ - committer?: ReposDeleteFileParamsCommitter; - /** - * object containing information about the author. - */ - author?: ReposDeleteFileParamsAuthor; -}; - -type ReposDeleteFileRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposDeleteFileResponseData { - content: { - [k: string]: unknown; - }; - commit: { - sha: string; - node_id: string; - url: string; - html_url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; -} - -type ReposDeleteInvitationEndpoint = { - owner: string; - - repo: string; - - invitation_id: number; -}; - -type ReposDeleteInvitationRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeletePagesSiteEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"switcheroo">; - -type ReposDeletePagesSiteRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeletePullRequestReviewProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposDeletePullRequestReviewProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteReleaseEndpoint = { - owner: string; - - repo: string; - - release_id: number; -}; - -type ReposDeleteReleaseRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteReleaseAssetEndpoint = { - owner: string; - - repo: string; - - asset_id: number; -}; - -type ReposDeleteReleaseAssetRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDeleteWebhookEndpoint = { - owner: string; - - repo: string; - - hook_id: number; -}; - -type ReposDeleteWebhookRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDisableAutomatedSecurityFixesEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"london">; - -type ReposDisableAutomatedSecurityFixesRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/automated-security-fixes"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDisableVulnerabilityAlertsEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"dorian">; - -type ReposDisableVulnerabilityAlertsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposDownloadArchiveEndpoint = { - owner: string; - - repo: string; - - archive_format: string; - - ref: string; -}; - -type ReposDownloadArchiveRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/:archive_format/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposEnableAutomatedSecurityFixesEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"london">; - -type ReposEnableAutomatedSecurityFixesRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/automated-security-fixes"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposEnableVulnerabilityAlertsEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"dorian">; - -type ReposEnableVulnerabilityAlertsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/vulnerability-alerts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposGetEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - allow_rebase_merge: boolean; - template_repository: string; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - code_of_conduct: { - name: string; - key: string; - url: string; - html_url: string; - }; -} - -type ReposGetAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetAccessRestrictionsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetAccessRestrictionsResponseData { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; -} - -type ReposGetAdminBranchProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetAdminBranchProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetAdminBranchProtectionResponseData { - url: string; - enabled: boolean; -} - -type ReposGetAllStatusCheckContextsEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetAllStatusCheckContextsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetAllStatusCheckContextsResponseData = string[]; - -type ReposGetAllTopicsEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"mercy">; - -type ReposGetAllTopicsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetAllTopicsResponseData { - names: string[]; -} - -type ReposGetAppsWithAccessToProtectedBranchEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetAppsWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetAppsWithAccessToProtectedBranchResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; - -type ReposGetBranchEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetBranchResponseData { - name: string; - commit: { - sha: string; - node_id: string; - commit: { - author: { - name: string; - date: string; - email: string; - }; - url: string; - message: string; - tree: { - sha: string; - url: string; - }; - committer: { - name: string; - date: string; - email: string; - }; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - gravatar_id: string; - avatar_url: string; - url: string; - id: number; - login: string; - }; - parents: { - sha: string; - url: string; - }[]; - url: string; - committer: { - gravatar_id: string; - avatar_url: string; - url: string; - id: number; - login: string; - }; - }; - _links: { - html: string; - self: string; - }; - protected: boolean; - protection: { - enabled: boolean; - required_status_checks: { - enforcement_level: string; - contexts: string[]; - }; - }; - protection_url: string; -} - -type ReposGetBranchProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetBranchProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetBranchProtectionResponseData { - url: string; - required_status_checks: { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - enforce_admins: { - url: string; - enabled: boolean; - }; - required_pull_request_reviews: { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; - }; - restrictions: { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; - }; - required_linear_history: { - enabled: boolean; - }; - allow_force_pushes: { - enabled: boolean; - }; - allow_deletions: { - enabled: boolean; - }; -} - -type ReposGetClonesEndpoint = { - owner: string; - - repo: string; - /** - * Must be one of: `day`, `week`. - */ - per?: "day" | "week"; -}; - -type ReposGetClonesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/clones"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetClonesResponseData { - count: number; - uniques: number; - clones: { - timestamp: string; - count: number; - uniques: number; - }[]; -} - -type ReposGetCodeFrequencyStatsEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetCodeFrequencyStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/code_frequency"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetCodeFrequencyStatsResponseData = number[][]; - -type ReposGetCollaboratorPermissionLevelEndpoint = { - owner: string; - - repo: string; - - username: string; -}; - -type ReposGetCollaboratorPermissionLevelRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators/:username/permission"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetCollaboratorPermissionLevelResponseData { - permission: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type ReposGetCombinedStatusForRefEndpoint = { - owner: string; - - repo: string; - - ref: string; -}; - -type ReposGetCombinedStatusForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/status"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetCombinedStatusForRefResponseData { - state: string; - statuses: { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - }[]; - sha: string; - total_count: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - commit_url: string; - url: string; -} - -type ReposGetCommitEndpoint = { - owner: string; - - repo: string; - - ref: string; -}; - -type ReposGetCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetCommitResponseData { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; - stats: { - additions: number; - deletions: number; - total: number; - }; - files: { - filename: string; - additions: number; - deletions: number; - changes: number; - status: string; - raw_url: string; - blob_url: string; - patch: string; - }[]; -} - -type ReposGetCommitActivityStatsEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetCommitActivityStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/commit_activity"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetCommitActivityStatsResponseData = { - days: number[]; - total: number; - week: number; -}[]; - -type ReposGetCommitCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; -}; - -type ReposGetCommitCommentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ReposGetCommitSignatureProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -} & RequiredPreview<"zzzax">; - -type ReposGetCommitSignatureProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_signatures"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetCommitSignatureProtectionResponseData { - url: string; - enabled: boolean; -} - -type ReposGetCommunityProfileMetricsEndpoint = { - owner: string; - - repo: string; -} & RequiredPreview<"black-panther">; - -type ReposGetCommunityProfileMetricsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/community/profile"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetCommunityProfileMetricsResponseData { - health_percentage: number; - description: string; - documentation: boolean; - files: { - code_of_conduct: { - name: string; - key: string; - url: string; - html_url: string; - }; - contributing: { - url: string; - html_url: string; - }; - issue_template: { - url: string; - html_url: string; - }; - pull_request_template: { - url: string; - html_url: string; - }; - license: { - name: string; - key: string; - spdx_id: string; - url: string; - html_url: string; - }; - readme: { - url: string; - html_url: string; - }; - }; - updated_at: string; -} - -type ReposGetContentEndpoint = { - owner: string; - - repo: string; - - path: string; - /** - * The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) - */ - ref?: string; -}; - -type ReposGetContentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/contents/:path"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetContentResponseData { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string; - html_url: string; - download_url: string; - target: string; - submodule_git_url: string; - _links: { - git: string; - self: string; - html: string; - }; -} - -type ReposGetContributorsStatsEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetContributorsStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/contributors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetContributorsStatsResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - total: number; - weeks: { - w: string; - a: number; - d: number; - c: number; - }[]; -}[]; - -type ReposGetDeployKeyEndpoint = { - owner: string; - - repo: string; - - key_id: number; -}; - -type ReposGetDeployKeyRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetDeployKeyResponseData { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -} - -type ReposGetDeploymentEndpoint = { - owner: string; - - repo: string; - - deployment_id: number; -}; - -type ReposGetDeploymentRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetDeploymentResponseData { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -} - -type ReposGetDeploymentStatusEndpoint = { - owner: string; - - repo: string; - - deployment_id: number; - - status_id: number; -}; - -type ReposGetDeploymentStatusRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses/:status_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetDeploymentStatusResponseData { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -} - -type ReposGetLatestPagesBuildEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetLatestPagesBuildRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds/latest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetLatestPagesBuildResponseData { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -} - -type ReposGetLatestReleaseEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetLatestReleaseRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/latest"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetLatestReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} - -type ReposGetPagesEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetPagesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetPagesResponseData { - url: string; - status: string; - cname: string; - custom_404: boolean; - html_url: string; - source: { - branch: string; - directory: string; - }; -} - -type ReposGetPagesBuildEndpoint = { - owner: string; - - repo: string; - - build_id: number; -}; - -type ReposGetPagesBuildRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds/:build_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetPagesBuildResponseData { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -} - -type ReposGetParticipationStatsEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetParticipationStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/participation"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetParticipationStatsResponseData { - all: number[]; - owner: number[]; -} - -type ReposGetPullRequestReviewProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetPullRequestReviewProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetPullRequestReviewProtectionResponseData { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; -} - -type ReposGetPunchCardStatsEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetPunchCardStatsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/stats/punch_card"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetPunchCardStatsResponseData = number[][]; - -type ReposGetReadmeEndpoint = { - owner: string; - - repo: string; - /** - * The name of the commit/branch/tag. Default: the repository’s default branch (usually `master`) - */ - ref?: string; -}; - -type ReposGetReadmeRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/readme"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetReadmeResponseData { - type: string; - encoding: string; - size: number; - name: string; - path: string; - content: string; - sha: string; - url: string; - git_url: string; - html_url: string; - download_url: string; - target: string; - submodule_git_url: string; - _links: { - git: string; - self: string; - html: string; - }; -} - -type ReposGetReleaseEndpoint = { - owner: string; - - repo: string; - - release_id: number; -}; - -type ReposGetReleaseRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} - -type ReposGetReleaseAssetEndpoint = { - owner: string; - - repo: string; - - asset_id: number; -}; - -type ReposGetReleaseAssetRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type ReposGetReleaseByTagEndpoint = { - owner: string; - - repo: string; - - tag: string; -}; - -type ReposGetReleaseByTagRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/tags/:tag"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetReleaseByTagResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} - -type ReposGetStatusChecksProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetStatusChecksProtectionRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetStatusChecksProtectionResponseData { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; -} - -type ReposGetTeamsWithAccessToProtectedBranchEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetTeamsWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetTeamsWithAccessToProtectedBranchResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type ReposGetTopPathsEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetTopPathsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/popular/paths"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetTopPathsResponseData = { - path: string; - title: string; - count: number; - uniques: number; -}[]; - -type ReposGetTopReferrersEndpoint = { - owner: string; - - repo: string; -}; - -type ReposGetTopReferrersRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/popular/referrers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetTopReferrersResponseData = { - referrer: string; - count: number; - uniques: number; -}[]; - -type ReposGetUsersWithAccessToProtectedBranchEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposGetUsersWithAccessToProtectedBranchRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposGetUsersWithAccessToProtectedBranchResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type ReposGetViewsEndpoint = { - owner: string; - - repo: string; - /** - * Must be one of: `day`, `week`. - */ - per?: "day" | "week"; -}; - -type ReposGetViewsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/traffic/views"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetViewsResponseData { - count: number; - uniques: number; - views: { - timestamp: string; - count: number; - uniques: number; - }[]; -} - -type ReposGetWebhookEndpoint = { - owner: string; - - repo: string; - - hook_id: number; -}; - -type ReposGetWebhookRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposGetWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} - -type ReposListBranchesEndpoint = { - owner: string; - - repo: string; - /** - * Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. - */ - protected?: boolean; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListBranchesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/branches"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListBranchesResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; - protection: { - enabled: boolean; - required_status_checks: { - enforcement_level: string; - contexts: string[]; - }; - }; - protection_url: string; -}[]; - -type ReposListBranchesForHeadCommitEndpoint = { - owner: string; - - repo: string; - - commit_sha: string; -} & RequiredPreview<"groot">; - -type ReposListBranchesForHeadCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/branches-where-head"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListBranchesForHeadCommitResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - protected: boolean; -}[]; - -type ReposListCollaboratorsEndpoint = { - owner: string; - - repo: string; - /** - * Filter collaborators returned by their affiliation. Can be one of: - * \* `outside`: All outside collaborators of an organization-owned repository. - * \* `direct`: All collaborators with permissions to an organization-owned repository, regardless of organization membership status. - * \* `all`: All collaborators the authenticated user can see. - */ - affiliation?: "outside" | "direct" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListCollaboratorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/collaborators"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListCollaboratorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - permissions: { - pull: boolean; - push: boolean; - admin: boolean; - }; -}[]; - -type ReposListCommentsForCommitEndpoint = { - owner: string; - - repo: string; - - commit_sha: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListCommentsForCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListCommentsForCommitResponseData = { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type ReposListCommitCommentsForRepoEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListCommitCommentsForRepoRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListCommitCommentsForRepoResponseData = { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -}[]; - -type ReposListCommitStatusesForRefEndpoint = { - owner: string; - - repo: string; - - ref: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListCommitStatusesForRefRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:ref/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListCommitStatusesForRefResponseData = { - url: string; - avatar_url: string; - id: number; - node_id: string; - state: string; - description: string; - target_url: string; - context: string; - created_at: string; - updated_at: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; - -type ReposListCommitsEndpoint = { - owner: string; - - repo: string; - /** - * SHA or branch to start listing commits from. Default: the repository’s default branch (usually `master`). - */ - sha?: string; - /** - * Only commits containing this file path will be returned. - */ - path?: string; - /** - * GitHub login or email address by which to filter by commit author. - */ - author?: string; - /** - * Only commits after this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - since?: string; - /** - * Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. - */ - until?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListCommitsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListCommitsResponseData = { - url: string; - sha: string; - node_id: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - name: string; - email: string; - date: string; - }; - committer: { - name: string; - email: string; - date: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - sha: string; - }[]; -}[]; - -type ReposListContributorsEndpoint = { - owner: string; - - repo: string; - /** - * Set to `1` or `true` to include anonymous contributors in results. - */ - anon?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListContributorsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/contributors"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListContributorsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - contributions: number; -}[]; - -type ReposListDeployKeysEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListDeployKeysRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListDeployKeysResponseData = { - id: number; - key: string; - url: string; - title: string; - verified: boolean; - created_at: string; - read_only: boolean; -}[]; - -type ReposListDeploymentStatusesEndpoint = { - owner: string; - - repo: string; - - deployment_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListDeploymentStatusesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments/:deployment_id/statuses"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListDeploymentStatusesResponseData = { - url: string; - id: number; - node_id: string; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - description: string; - environment: string; - target_url: string; - created_at: string; - updated_at: string; - deployment_url: string; - repository_url: string; - environment_url: string; - log_url: string; -}[]; - -type ReposListDeploymentsEndpoint = { - owner: string; - - repo: string; - /** - * The SHA recorded at creation time. - */ - sha?: string; - /** - * The name of the ref. This can be a branch, tag, or SHA. - */ - ref?: string; - /** - * The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). - */ - task?: string; - /** - * The name of the environment that was deployed to (e.g., `staging` or `production`). - */ - environment?: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListDeploymentsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/deployments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListDeploymentsResponseData = { - url: string; - id: number; - node_id: string; - sha: string; - ref: string; - task: string; - payload: { - deploy: string; - }; - original_environment: string; - environment: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - statuses_url: string; - repository_url: string; - transient_environment: boolean; - production_environment: boolean; -}[]; - -type ReposListForAuthenticatedUserEndpoint = { - /** - * Can be one of `all`, `public`, or `private`. - */ - visibility?: "all" | "public" | "private"; - /** - * Comma-separated list of values. Can include: - * \* `owner`: Repositories that are owned by the authenticated user. - * \* `collaborator`: Repositories that the user has been added to as a collaborator. - * \* `organization_member`: Repositories that the user has access to through being a member of an organization. This includes every repository on every team that the user is on. - */ - affiliation?: string; - /** - * Can be one of `all`, `owner`, `public`, `private`, `member`. Default: `all` - * - * Will cause a `422` error if used in the same request as **visibility** or **affiliation**. Will cause a `422` error if used in the same request as **visibility** or **affiliation**. - */ - type?: "all" | "owner" | "public" | "private" | "member"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposListForOrgEndpoint = { - org: string; - /** - * Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. - */ - type?: - | "all" - | "public" - | "private" - | "forks" - | "sources" - | "member" - | "internal"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: when using `full_name`: `asc`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListForOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type ReposListForUserEndpoint = { - username: string; - /** - * Can be one of `all`, `owner`, `member`. - */ - type?: "all" | "owner" | "member"; - /** - * Can be one of `created`, `updated`, `pushed`, `full_name`. - */ - sort?: "created" | "updated" | "pushed" | "full_name"; - /** - * Can be one of `asc` or `desc`. Default: `asc` when using `full_name`, otherwise `desc` - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListForUserRequestOptions = { - method: "GET"; - url: "/users/:username/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposListForksEndpoint = { - owner: string; - - repo: string; - /** - * The sort order. Can be either `newest`, `oldest`, or `stargazers`. - */ - sort?: "newest" | "oldest" | "stargazers"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListForksRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/forks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListForksResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type ReposListInvitationsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListInvitationsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListInvitationsResponseData = { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -}[]; - -type ReposListInvitationsForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListInvitationsForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/repository_invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListInvitationsForAuthenticatedUserResponseData = { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -}[]; - -type ReposListLanguagesEndpoint = { - owner: string; - - repo: string; -}; - -type ReposListLanguagesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/languages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposListLanguagesResponseData { - C: number; - Python: number; -} - -type ReposListPagesBuildsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListPagesBuildsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/pages/builds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListPagesBuildsResponseData = { - url: string; - status: string; - error: { - message: string; - }; - pusher: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - commit: string; - duration: number; - created_at: string; - updated_at: string; -}[]; - -type ReposListPublicEndpoint = { - /** - * The integer ID of the last repository that you've seen. - */ - since?: number; -}; - -type ReposListPublicRequestOptions = { - method: "GET"; - url: "/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListPublicResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; -}[]; - -type ReposListPullRequestsAssociatedWithCommitEndpoint = { - owner: string; - - repo: string; - - commit_sha: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"groot">; - -type ReposListPullRequestsAssociatedWithCommitRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/commits/:commit_sha/pulls"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListPullRequestsAssociatedWithCommitResponseData = { - url: string; - id: number; - node_id: string; - html_url: string; - diff_url: string; - patch_url: string; - issue_url: string; - commits_url: string; - review_comments_url: string; - review_comment_url: string; - comments_url: string; - statuses_url: string; - number: number; - state: string; - locked: boolean; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - labels: { - id: number; - node_id: string; - url: string; - name: string; - description: string; - color: string; - default: boolean; - }[]; - milestone: { - url: string; - html_url: string; - labels_url: string; - id: number; - node_id: string; - number: number; - state: string; - title: string; - description: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - open_issues: number; - closed_issues: number; - created_at: string; - updated_at: string; - closed_at: string; - due_on: string; - }; - active_lock_reason: string; - created_at: string; - updated_at: string; - closed_at: string; - merged_at: string; - merge_commit_sha: string; - assignee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assignees: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_reviewers: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - requested_teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - head: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - base: { - label: string; - ref: string; - sha: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - repo: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - }; - _links: { - self: { - href: string; - }; - html: { - href: string; - }; - issue: { - href: string; - }; - comments: { - href: string; - }; - review_comments: { - href: string; - }; - review_comment: { - href: string; - }; - commits: { - href: string; - }; - statuses: { - href: string; - }; - }; - author_association: string; - draft: boolean; -}[]; - -type ReposListReleaseAssetsEndpoint = { - owner: string; - - repo: string; - - release_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListReleaseAssetsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases/:release_id/assets"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListReleaseAssetsResponseData = { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -}[]; - -type ReposListReleasesEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListReleasesRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/releases"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListReleasesResponseData = { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -}[]; - -type ReposListTagsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListTagsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/tags"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListTagsResponseData = { - name: string; - commit: { - sha: string; - url: string; - }; - zipball_url: string; - tarball_url: string; -}[]; - -type ReposListTeamsEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListTeamsRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListTeamsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type ReposListWebhooksEndpoint = { - owner: string; - - repo: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type ReposListWebhooksRequestOptions = { - method: "GET"; - url: "/repos/:owner/:repo/hooks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposListWebhooksResponseData = { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -}[]; - -type ReposMergeEndpoint = { - owner: string; - - repo: string; - /** - * The name of the base branch that the head will be merged into. - */ - base: string; - /** - * The head to merge. This can be a branch name or a commit SHA1. - */ - head: string; - /** - * Commit message to use for the merge commit. If omitted, a default message will be used. - */ - commit_message?: string; -}; - -type ReposMergeRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/merges"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposMergeResponseData { - sha: string; - node_id: string; - commit: { - author: { - name: string; - date: string; - email: string; - }; - committer: { - name: string; - date: string; - email: string; - }; - message: string; - tree: { - sha: string; - url: string; - }; - url: string; - comment_count: number; - verification: { - verified: boolean; - reason: string; - signature: string; - payload: string; - }; - }; - url: string; - html_url: string; - comments_url: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - sha: string; - url: string; - }[]; -} - -export interface ReposMergeResponse404Data { - message: string; -} - -export interface ReposMergeResponse409Data { - message: string; -} - -type ReposPingWebhookEndpoint = { - owner: string; - - repo: string; - - hook_id: number; -}; - -type ReposPingWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks/:hook_id/pings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposRemoveAppAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; - -type ReposRemoveAppAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposRemoveAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; - -type ReposRemoveCollaboratorEndpoint = { - owner: string; - - repo: string; - - username: string; -}; - -type ReposRemoveCollaboratorRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/collaborators/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposRemoveStatusCheckContextsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; - -type ReposRemoveStatusCheckContextsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposRemoveStatusCheckContextsResponseData = string[]; - -type ReposRemoveStatusCheckProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposRemoveStatusCheckProtectionRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposRemoveTeamAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; - -type ReposRemoveTeamAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposRemoveTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type ReposRemoveUserAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * users parameter - */ - users: string[]; -}; - -type ReposRemoveUserAccessRestrictionsRequestOptions = { - method: "DELETE"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposRemoveUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type ReposReplaceAllTopicsEndpoint = { - owner: string; - - repo: string; - /** - * An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. - */ - names: string[]; -} & RequiredPreview<"mercy">; - -type ReposReplaceAllTopicsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposReplaceAllTopicsResponseData { - names: string[]; -} - -type ReposRequestPagesBuildEndpoint = { - owner: string; - - repo: string; -}; - -type ReposRequestPagesBuildRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/pages/builds"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposRequestPagesBuildResponseData { - url: string; - status: string; -} - -type ReposSetAdminBranchProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; -}; - -type ReposSetAdminBranchProtectionRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/branches/:branch/protection/enforce_admins"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposSetAdminBranchProtectionResponseData { - url: string; - enabled: boolean; -} - -type ReposSetAppAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * apps parameter - */ - apps: string[]; -}; - -type ReposSetAppAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/apps"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposSetAppAccessRestrictionsResponseData = { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; -}[]; - -type ReposSetStatusCheckContextsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * contexts parameter - */ - contexts: string[]; -}; - -type ReposSetStatusCheckContextsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks/contexts"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposSetStatusCheckContextsResponseData = string[]; - -type ReposSetTeamAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * teams parameter - */ - teams: string[]; -}; - -type ReposSetTeamAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposSetTeamAccessRestrictionsResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type ReposSetUserAccessRestrictionsEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * users parameter - */ - users: string[]; -}; - -type ReposSetUserAccessRestrictionsRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection/restrictions/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type ReposSetUserAccessRestrictionsResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type ReposTestPushWebhookEndpoint = { - owner: string; - - repo: string; - - hook_id: number; -}; - -type ReposTestPushWebhookRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/hooks/:hook_id/tests"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposTransferEndpoint = { - owner: string; - - repo: string; - /** - * **Required:** The username or organization name the repository will be transferred to. - */ - new_owner?: string; - /** - * ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. - */ - team_ids?: number[]; -}; - -type ReposTransferRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/transfer"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposTransferResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; -} - -type ReposUpdateEndpoint = { - owner: string; - - repo: string; - /** - * The name of the repository. - */ - name?: string; - /** - * A short description of the repository. - */ - description?: string; - /** - * A URL with more information about the repository. - */ - homepage?: string; - /** - * Either `true` to make the repository private or `false` to make it public. Default: `false`. - * **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. - */ - private?: boolean; - /** - * Can be `public` or `private`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `visibility` can also be `internal`. The `visibility` parameter overrides the `private` parameter when you use both along with the `nebula-preview` preview header. - */ - visibility?: "public" | "private" | "visibility" | "internal"; - /** - * Either `true` to enable issues for this repository or `false` to disable them. - */ - has_issues?: boolean; - /** - * Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. - */ - has_projects?: boolean; - /** - * Either `true` to enable the wiki for this repository or `false` to disable it. - */ - has_wiki?: boolean; - /** - * Either `true` to make this repo available as a template repository or `false` to prevent it. - */ - is_template?: boolean; - /** - * Updates the default branch for this repository. - */ - default_branch?: string; - /** - * Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. - */ - allow_squash_merge?: boolean; - /** - * Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. - */ - allow_merge_commit?: boolean; - /** - * Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. - */ - allow_rebase_merge?: boolean; - /** - * Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. - */ - delete_branch_on_merge?: boolean; - /** - * `true` to archive this repository. **Note**: You cannot unarchive repositories through the API. - */ - archived?: boolean; -}; - -type ReposUpdateRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateResponseData { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; -} - -type ReposUpdateBranchProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * Require status checks to pass before merging. Set to `null` to disable. - */ - required_status_checks: ReposUpdateBranchProtectionParamsRequiredStatusChecks | null; - /** - * Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. - */ - enforce_admins: boolean | null; - /** - * Require at least one approving review on a pull request, before merging. Set to `null` to disable. - */ - required_pull_request_reviews: ReposUpdateBranchProtectionParamsRequiredPullRequestReviews | null; - /** - * Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. - */ - restrictions: ReposUpdateBranchProtectionParamsRestrictions | null; - /** - * Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/github/administering-a-repository/requiring-a-linear-commit-history)". - */ - required_linear_history?: boolean; - /** - * Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)". - */ - allow_force_pushes?: boolean | null; - /** - * Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/en/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)". - */ - allow_deletions?: boolean; -}; - -type ReposUpdateBranchProtectionRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/branches/:branch/protection"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateBranchProtectionResponseData { - url: string; - required_status_checks: { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; - }; - enforce_admins: { - url: string; - enabled: boolean; - }; - required_pull_request_reviews: { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; - }; - restrictions: { - url: string; - users_url: string; - teams_url: string; - apps_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - apps: { - id: number; - slug: string; - node_id: string; - owner: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - }; - name: string; - description: string; - external_url: string; - html_url: string; - created_at: string; - updated_at: string; - permissions: { - metadata: string; - contents: string; - issues: string; - single_file: string; - }; - events: string[]; - }[]; - }; - required_linear_history: { - enabled: boolean; - }; - allow_force_pushes: { - enabled: boolean; - }; - allow_deletions: { - enabled: boolean; - }; -} - -type ReposUpdateCommitCommentEndpoint = { - owner: string; - - repo: string; - - comment_id: number; - /** - * The contents of the comment - */ - body: string; -}; - -type ReposUpdateCommitCommentRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/comments/:comment_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateCommitCommentResponseData { - html_url: string; - url: string; - id: number; - node_id: string; - body: string; - path: string; - position: number; - line: number; - commit_id: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; -} - -type ReposUpdateInformationAboutPagesSiteEndpoint = { - owner: string; - - repo: string; - /** - * Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/articles/using-a-custom-domain-with-github-pages/)." - */ - cname?: string; - /** - * Update the source for the repository. Must include the branch name and path. - */ - source: ReposUpdateInformationAboutPagesSiteParamsSource; -}; - -type ReposUpdateInformationAboutPagesSiteRequestOptions = { - method: "PUT"; - url: "/repos/:owner/:repo/pages"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ReposUpdateInvitationEndpoint = { - owner: string; - - repo: string; - - invitation_id: number; - /** - * The permissions that the associated user will have on the repository. Valid values are `read`, `write`, `maintain`, `triage`, and `admin`. - */ - permissions?: "read" | "write" | "maintain" | "triage" | "admin"; -}; - -type ReposUpdateInvitationRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/invitations/:invitation_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateInvitationResponseData { - id: number; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - }; - invitee: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - permissions: string; - created_at: string; - url: string; - html_url: string; -} - -type ReposUpdatePullRequestReviewProtectionEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * Specify which users and teams can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. - */ - dismissal_restrictions?: ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions; - /** - * Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. - */ - dismiss_stale_reviews?: boolean; - /** - * Blocks merging pull requests until [code owners](https://docs.github.com/articles/about-code-owners/) have reviewed. - */ - require_code_owner_reviews?: boolean; - /** - * Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6. - */ - required_approving_review_count?: number; -}; - -type ReposUpdatePullRequestReviewProtectionRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_pull_request_reviews"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdatePullRequestReviewProtectionResponseData { - url: string; - dismissal_restrictions: { - url: string; - users_url: string; - teams_url: string; - users: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }[]; - teams: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - }[]; - }; - dismiss_stale_reviews: boolean; - require_code_owner_reviews: boolean; - required_approving_review_count: number; -} - -type ReposUpdateReleaseEndpoint = { - owner: string; - - repo: string; - - release_id: number; - /** - * The name of the tag. - */ - tag_name?: string; - /** - * Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually `master`). - */ - target_commitish?: string; - /** - * The name of the release. - */ - name?: string; - /** - * Text describing the contents of the tag. - */ - body?: string; - /** - * `true` makes the release a draft, and `false` publishes the release. - */ - draft?: boolean; - /** - * `true` to identify the release as a prerelease, `false` to identify the release as a full release. - */ - prerelease?: boolean; -}; - -type ReposUpdateReleaseRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/releases/:release_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateReleaseResponseData { - url: string; - html_url: string; - assets_url: string; - upload_url: string; - tarball_url: string; - zipball_url: string; - id: number; - node_id: string; - tag_name: string; - target_commitish: string; - name: string; - body: string; - draft: boolean; - prerelease: boolean; - created_at: string; - published_at: string; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - assets: { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - }[]; -} - -type ReposUpdateReleaseAssetEndpoint = { - owner: string; - - repo: string; - - asset_id: number; - /** - * The file name of the asset. - */ - name?: string; - /** - * An alternate short description of the asset. Used in place of the filename. - */ - label?: string; -}; - -type ReposUpdateReleaseAssetRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/releases/assets/:asset_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type ReposUpdateStatusCheckPotectionEndpoint = { - owner: string; - - repo: string; - - branch: string; - /** - * Require branches to be up to date before merging. - */ - strict?: boolean; - /** - * The list of status checks to require in order to merge into this branch - */ - contexts?: string[]; -}; - -type ReposUpdateStatusCheckPotectionRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/branches/:branch/protection/required_status_checks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateStatusCheckPotectionResponseData { - url: string; - strict: boolean; - contexts: string[]; - contexts_url: string; -} - -type ReposUpdateWebhookEndpoint = { - owner: string; - - repo: string; - - hook_id: number; - /** - * Key/value pairs to provide settings for this webhook. [These are defined below](https://developer.github.com/v3/repos/hooks/#create-hook-config-params). - */ - config?: ReposUpdateWebhookParamsConfig; - /** - * Determines what [events](https://developer.github.com/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events. - */ - events?: string[]; - /** - * Determines a list of events to be added to the list of events that the Hook triggers for. - */ - add_events?: string[]; - /** - * Determines a list of events to be removed from the list of events that the Hook triggers for. - */ - remove_events?: string[]; - /** - * Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. - */ - active?: boolean; -}; - -type ReposUpdateWebhookRequestOptions = { - method: "PATCH"; - url: "/repos/:owner/:repo/hooks/:hook_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUpdateWebhookResponseData { - type: string; - id: number; - name: string; - active: boolean; - events: string[]; - config: { - content_type: string; - insecure_ssl: string; - url: string; - }; - updated_at: string; - created_at: string; - url: string; - test_url: string; - ping_url: string; - last_response: { - code: string; - status: string; - message: string; - }; -} - -type ReposUploadReleaseAssetEndpoint = { - /** - * owner parameter - */ - owner: string; - /** - * repo parameter - */ - repo: string; - /** - * release_id parameter - */ - release_id: number; - /** - * name parameter - */ - name?: string; - /** - * label parameter - */ - label?: string; - /** - * The raw file data - */ - data: string | Buffer; - /** - * The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint - */ - origin?: string; - /** - * For https://api.github.com, set `baseUrl` to `https://uploads.github.com`. For GitHub Enterprise Server, set it to `/api/uploads` - */ - baseUrl: string; -} & { headers: { "content-type": string } }; - -type ReposUploadReleaseAssetRequestOptions = { - method: "POST"; - url: "/repos/:owner/:repo/releases/:release_id/assets{?name,label}"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ReposUploadReleaseAssetResponseData { - url: string; - browser_download_url: string; - id: number; - node_id: string; - name: string; - label: string; - state: string; - content_type: string; - size: number; - download_count: number; - created_at: string; - updated_at: string; - uploader: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; -} - -type ScimDeleteUserFromOrgEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; -}; - -type ScimDeleteUserFromOrgRequestOptions = { - method: "DELETE"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type ScimGetProvisioningInformationForUserEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; -}; - -type ScimGetProvisioningInformationForUserRequestOptions = { - method: "GET"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ScimGetProvisioningInformationForUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type ScimListProvisionedIdentitiesEndpoint = { - org: string; - /** - * Used for pagination: the index of the first result to return. - */ - startIndex?: number; - /** - * Used for pagination: the number of results to return. - */ - count?: number; - /** - * Filters results using the equals query parameter operator (`eq`). You can filter results that are equal to `id`, `userName`, `emails`, and `external_id`. For example, to search for an identity with the `userName` Octocat, you would use this query: - * - * `?filter=userName%20eq%20\"Octocat\"`. - * - * To filter results for for the identity with the email `octocat@github.com`, you would use this query: - * - * `?filter=emails%20eq%20\"octocat@github.com\"`. - */ - filter?: string; -}; - -type ScimListProvisionedIdentitiesRequestOptions = { - method: "GET"; - url: "/scim/v2/organizations/:org/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ScimListProvisionedIdentitiesResponseData { - schemas: string[]; - totalResults: number; - itemsPerPage: number; - startIndex: number; - Resources: { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - primary: boolean; - type: string; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; - }[]; -} - -type ScimProvisionAndInviteUserEndpoint = { - org: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The username for the user. - */ - userName: string; - - name: ScimProvisionAndInviteUserParamsName; - /** - * List of user emails. - */ - emails: ScimProvisionAndInviteUserParamsEmails[]; -}; - -type ScimProvisionAndInviteUserRequestOptions = { - method: "POST"; - url: "/scim/v2/organizations/:org/Users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ScimProvisionAndInviteUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type ScimSetInformationForProvisionedUserEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * The username for the user. - */ - userName: string; - - name: ScimSetInformationForProvisionedUserParamsName; - /** - * List of user emails. - */ - emails: ScimSetInformationForProvisionedUserParamsEmails[]; -}; - -type ScimSetInformationForProvisionedUserRequestOptions = { - method: "PUT"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ScimSetInformationForProvisionedUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type ScimUpdateAttributeForUserEndpoint = { - org: string; - /** - * Identifier generated by the GitHub SCIM endpoint. - */ - scim_user_id: string; - /** - * The SCIM schema URIs. - */ - schemas: string[]; - /** - * Array of [SCIM operations](https://tools.ietf.org/html/rfc7644#section-3.5.2). - */ - Operations: ScimUpdateAttributeForUserParamsOperations[]; -}; - -type ScimUpdateAttributeForUserRequestOptions = { - method: "PATCH"; - url: "/scim/v2/organizations/:org/Users/:scim_user_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface ScimUpdateAttributeForUserResponseData { - schemas: string[]; - id: string; - externalId: string; - userName: string; - name: { - givenName: string; - familyName: string; - }; - emails: { - value: string; - type: string; - primary: boolean; - }[]; - active: boolean; - meta: { - resourceType: string; - created: string; - lastModified: string; - location: string; - }; -} - -type SearchCodeEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching code](https://docs.github.com/articles/searching-code/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query. Can only be `indexed`, which indicates how recently a file has been indexed by the GitHub search infrastructure. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "indexed"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type SearchCodeRequestOptions = { - method: "GET"; - url: "/search/code"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchCodeResponseData { - total_count: number; - incomplete_results: boolean; - items: { - name: string; - path: string; - sha: string; - url: string; - git_url: string; - html_url: string; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - }; - score: number; - }[]; -} - -type SearchCommitsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching commits](https://docs.github.com/articles/searching-commits/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by `author-date` or `committer-date`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "author-date" | "committer-date"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"cloak">; - -type SearchCommitsRequestOptions = { - method: "GET"; - url: "/search/commits"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchCommitsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - url: string; - sha: string; - html_url: string; - comments_url: string; - commit: { - url: string; - author: { - date: string; - name: string; - email: string; - }; - committer: { - date: string; - name: string; - email: string; - }; - message: string; - tree: { - url: string; - sha: string; - }; - comment_count: number; - }; - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - committer: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parents: { - url: string; - html_url: string; - sha: string; - }[]; - repository: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - forks_url: string; - keys_url: string; - collaborators_url: string; - teams_url: string; - hooks_url: string; - issue_events_url: string; - events_url: string; - assignees_url: string; - branches_url: string; - tags_url: string; - blobs_url: string; - git_tags_url: string; - git_refs_url: string; - trees_url: string; - statuses_url: string; - languages_url: string; - stargazers_url: string; - contributors_url: string; - subscribers_url: string; - subscription_url: string; - commits_url: string; - git_commits_url: string; - comments_url: string; - issue_comment_url: string; - contents_url: string; - compare_url: string; - merges_url: string; - archive_url: string; - downloads_url: string; - issues_url: string; - pulls_url: string; - milestones_url: string; - notifications_url: string; - labels_url: string; - releases_url: string; - deployments_url: string; - }; - score: number; - }[]; -} - -type SearchIssuesAndPullRequestsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching issues and pull requests](https://docs.github.com/articles/searching-issues-and-pull-requests/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by the number of `comments`, `reactions`, `reactions-+1`, `reactions--1`, `reactions-smile`, `reactions-thinking_face`, `reactions-heart`, `reactions-tada`, or `interactions`. You can also sort results by how recently the items were `created` or `updated`, Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: - | "comments" - | "reactions" - | "reactions-+1" - | "reactions--1" - | "reactions-smile" - | "reactions-thinking_face" - | "reactions-heart" - | "reactions-tada" - | "interactions" - | "created" - | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type SearchIssuesAndPullRequestsRequestOptions = { - method: "GET"; - url: "/search/issues"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchIssuesAndPullRequestsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - url: string; - repository_url: string; - labels_url: string; - comments_url: string; - events_url: string; - html_url: string; - id: number; - node_id: string; - number: number; - title: string; - user: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - }; - labels: { - id: number; - node_id: string; - url: string; - name: string; - color: string; - }[]; - state: string; - assignee: string; - milestone: string; - comments: number; - created_at: string; - updated_at: string; - closed_at: string; - pull_request: { - html_url: string; - diff_url: string; - patch_url: string; - }; - body: string; - score: number; - }[]; -} - -type SearchLabelsEndpoint = { - /** - * The id of the repository. - */ - repository_id: number; - /** - * The search keywords. This endpoint does not accept qualifiers in the query. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). - */ - q: string; - /** - * Sorts the results of your query by when the label was `created` or `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "created" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; -}; - -type SearchLabelsRequestOptions = { - method: "GET"; - url: "/search/labels"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchLabelsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - id: number; - node_id: string; - url: string; - name: string; - color: string; - default: boolean; - description: string; - score: number; - }[]; -} - -type SearchReposEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by number of `stars`, `forks`, or `help-wanted-issues` or how recently the items were `updated`. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "stars" | "forks" | "help-wanted-issues" | "updated"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type SearchReposRequestOptions = { - method: "GET"; - url: "/search/repositories"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchReposResponseData { - total_count: number; - incomplete_results: boolean; - items: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - received_events_url: string; - type: string; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - created_at: string; - updated_at: string; - pushed_at: string; - homepage: string; - size: number; - stargazers_count: number; - watchers_count: number; - language: string; - forks_count: number; - open_issues_count: number; - master_branch: string; - default_branch: string; - score: number; - }[]; -} - -type SearchTopicsEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). - */ - q: string; -} & RequiredPreview<"mercy">; - -type SearchTopicsRequestOptions = { - method: "GET"; - url: "/search/topics"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchTopicsResponseData { - total_count: number; - incomplete_results: boolean; - items: { - name: string; - display_name: string; - short_description: string; - description: string; - created_by: string; - released: string; - created_at: string; - updated_at: string; - featured: boolean; - curated: boolean; - score: number; - }[]; -} - -type SearchUsersEndpoint = { - /** - * The query contains one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as GitHub.com. To learn more about the format of the query, see [Constructing a search query](https://developer.github.com/v3/search/#constructing-a-search-query). See "[Searching users](https://docs.github.com/articles/searching-users/)" for a detailed list of qualifiers. - */ - q: string; - /** - * Sorts the results of your query by number of `followers` or `repositories`, or when the person `joined` GitHub. Default: [best match](https://developer.github.com/v3/search/#ranking-search-results) - */ - sort?: "followers" | "repositories" | "joined"; - /** - * Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter is ignored unless you provide `sort`. - */ - order?: "desc" | "asc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type SearchUsersRequestOptions = { - method: "GET"; - url: "/search/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface SearchUsersResponseData { - total_count: number; - incomplete_results: boolean; - items: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - received_events_url: string; - type: string; - score: number; - }[]; -} - -type TeamsAddMemberLegacyEndpoint = { - team_id: number; - - username: string; -}; - -type TeamsAddMemberLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsAddMemberLegacyResponseData { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} - -type TeamsAddOrUpdateMembershipForUserInOrgEndpoint = { - org: string; - - team_slug: string; - - username: string; - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; -}; - -type TeamsAddOrUpdateMembershipForUserInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsAddOrUpdateMembershipForUserInOrgResponseData { - url: string; - role: string; - state: string; -} - -export interface TeamsAddOrUpdateMembershipForUserInOrgResponse422Data { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} - -type TeamsAddOrUpdateMembershipForUserLegacyEndpoint = { - team_id: number; - - username: string; - /** - * The role that this user should have in the team. Can be one of: - * \* `member` - a normal member of the team. - * \* `maintainer` - a team maintainer. Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description. - */ - role?: "member" | "maintainer"; -}; - -type TeamsAddOrUpdateMembershipForUserLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsAddOrUpdateMembershipForUserLegacyResponseData { - url: string; - role: string; - state: string; -} - -export interface TeamsAddOrUpdateMembershipForUserLegacyResponse422Data { - message: string; - errors: { - code: string; - field: string; - resource: string; - }[]; -} - -type TeamsAddOrUpdateProjectPermissionsInOrgEndpoint = { - org: string; - - team_slug: string; - - project_id: number; - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; - -type TeamsAddOrUpdateProjectPermissionsInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsAddOrUpdateProjectPermissionsInOrgResponseData { - message: string; - documentation_url: string; -} - -type TeamsAddOrUpdateProjectPermissionsLegacyEndpoint = { - team_id: number; - - project_id: number; - /** - * The permission to grant to the team for this project. Can be one of: - * \* `read` - team members can read, but not write to or administer this project. - * \* `write` - team members can read and write, but not administer this project. - * \* `admin` - team members can read, write and administer this project. - * Default: the team's `permission` attribute will be used to determine what permission to grant the team on this project. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP verbs](https://developer.github.com/v3/#http-verbs)." - */ - permission?: "read" | "write" | "admin"; -} & RequiredPreview<"inertia">; - -type TeamsAddOrUpdateProjectPermissionsLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsAddOrUpdateProjectPermissionsLegacyResponseData { - message: string; - documentation_url: string; -} - -type TeamsAddOrUpdateRepoPermissionsInOrgEndpoint = { - org: string; - - team_slug: string; - - owner: string; - - repo: string; - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * \* `maintain` - team members can manage the repository without access to sensitive or destructive actions. Recommended for project managers. Only applies to repositories owned by organizations. - * \* `triage` - team members can proactively manage issues and pull requests without write access. Recommended for contributors who triage a repository. Only applies to repositories owned by organizations. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin" | "maintain" | "triage"; -}; - -type TeamsAddOrUpdateRepoPermissionsInOrgRequestOptions = { - method: "PUT"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsAddOrUpdateRepoPermissionsLegacyEndpoint = { - team_id: number; - - owner: string; - - repo: string; - /** - * The permission to grant the team on this repository. Can be one of: - * \* `pull` - team members can pull, but not push to or administer this repository. - * \* `push` - team members can pull and push, but not administer this repository. - * \* `admin` - team members can pull, push and administer this repository. - * - * If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. - */ - permission?: "pull" | "push" | "admin"; -}; - -type TeamsAddOrUpdateRepoPermissionsLegacyRequestOptions = { - method: "PUT"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsCheckPermissionsForProjectInOrgEndpoint = { - org: string; - - team_slug: string; - - project_id: number; -} & RequiredPreview<"inertia">; - -type TeamsCheckPermissionsForProjectInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCheckPermissionsForProjectInOrgResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -} - -type TeamsCheckPermissionsForProjectLegacyEndpoint = { - team_id: number; - - project_id: number; -} & RequiredPreview<"inertia">; - -type TeamsCheckPermissionsForProjectLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCheckPermissionsForProjectLegacyResponseData { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -} - -type TeamsCheckPermissionsForRepoInOrgEndpoint = { - org: string; - - team_slug: string; - - owner: string; - - repo: string; -}; - -type TeamsCheckPermissionsForRepoInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCheckPermissionsForRepoInOrgResponseData { - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; -} - -type TeamsCheckPermissionsForRepoLegacyEndpoint = { - team_id: number; - - owner: string; - - repo: string; -}; - -type TeamsCheckPermissionsForRepoLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCheckPermissionsForRepoLegacyResponseData { - organization: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - parent: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - source: { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - allow_rebase_merge: boolean; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - allow_squash_merge: boolean; - delete_branch_on_merge: boolean; - allow_merge_commit: boolean; - subscribers_count: number; - network_count: number; - }; - permissions: { - pull: boolean; - triage: boolean; - push: boolean; - maintain: boolean; - admin: boolean; - }; -} - -type TeamsCreateEndpoint = { - org: string; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * List GitHub IDs for organization members who will become team maintainers. - */ - maintainers?: string[]; - /** - * The full name (e.g., "organization-name/repository-name") of repositories to add the team to. - */ - repo_names?: string[]; - /** - * The level of privacy this team should have. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * Default: `secret` - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - * Default for child team: `closed` - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; - -type TeamsCreateRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} - -type TeamsCreateDiscussionCommentInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; - -type TeamsCreateDiscussionCommentInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsCreateDiscussionCommentLegacyEndpoint = { - team_id: number; - - discussion_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; - -type TeamsCreateDiscussionCommentLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsCreateDiscussionInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * The discussion post's title. - */ - title: string; - /** - * The discussion post's body text. - */ - body: string; - /** - * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. - */ - private?: boolean; -}; - -type TeamsCreateDiscussionInOrgRequestOptions = { - method: "POST"; - url: "/orgs/:org/teams/:team_slug/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsCreateDiscussionLegacyEndpoint = { - team_id: number; - /** - * The discussion post's title. - */ - title: string; - /** - * The discussion post's body text. - */ - body: string; - /** - * Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. - */ - private?: boolean; -}; - -type TeamsCreateDiscussionLegacyRequestOptions = { - method: "POST"; - url: "/teams/:team_id/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsCreateOrUpdateIdPGroupConnectionsInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. - */ - groups: TeamsCreateOrUpdateIdPGroupConnectionsInOrgParamsGroups[]; -}; - -type TeamsCreateOrUpdateIdPGroupConnectionsInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateOrUpdateIdPGroupConnectionsInOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }; -} - -type TeamsCreateOrUpdateIdPGroupConnectionsLegacyEndpoint = { - team_id: number; - /** - * The IdP groups you want to connect to a GitHub team. When updating, the new `groups` object will replace the original one. You must include any existing groups that you don't want to remove. - */ - groups: TeamsCreateOrUpdateIdPGroupConnectionsLegacyParamsGroups[]; -}; - -type TeamsCreateOrUpdateIdPGroupConnectionsLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsCreateOrUpdateIdPGroupConnectionsLegacyResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} - -type TeamsDeleteDiscussionCommentInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - comment_number: number; -}; - -type TeamsDeleteDiscussionCommentInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsDeleteDiscussionCommentLegacyEndpoint = { - team_id: number; - - discussion_number: number; - - comment_number: number; -}; - -type TeamsDeleteDiscussionCommentLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsDeleteDiscussionInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; -}; - -type TeamsDeleteDiscussionInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsDeleteDiscussionLegacyEndpoint = { - team_id: number; - - discussion_number: number; -}; - -type TeamsDeleteDiscussionLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsDeleteInOrgEndpoint = { - org: string; - - team_slug: string; -}; - -type TeamsDeleteInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsDeleteLegacyEndpoint = { - team_id: number; -}; - -type TeamsDeleteLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsGetByNameEndpoint = { - org: string; - - team_slug: string; -}; - -type TeamsGetByNameRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetByNameResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} - -type TeamsGetDiscussionCommentInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - comment_number: number; -}; - -type TeamsGetDiscussionCommentInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsGetDiscussionCommentLegacyEndpoint = { - team_id: number; - - discussion_number: number; - - comment_number: number; -}; - -type TeamsGetDiscussionCommentLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsGetDiscussionInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; -}; - -type TeamsGetDiscussionInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsGetDiscussionLegacyEndpoint = { - team_id: number; - - discussion_number: number; -}; - -type TeamsGetDiscussionLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsGetLegacyEndpoint = { - team_id: number; -}; - -type TeamsGetLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetLegacyResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} - -type TeamsGetMemberLegacyEndpoint = { - team_id: number; - - username: string; -}; - -type TeamsGetMemberLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsGetMembershipForUserInOrgEndpoint = { - org: string; - - team_slug: string; - - username: string; -}; - -type TeamsGetMembershipForUserInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetMembershipForUserInOrgResponseData { - url: string; - role: string; - state: string; -} - -type TeamsGetMembershipForUserLegacyEndpoint = { - team_id: number; - - username: string; -}; - -type TeamsGetMembershipForUserLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsGetMembershipForUserLegacyResponseData { - url: string; - role: string; - state: string; -} - -type TeamsListEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; -}[]; - -type TeamsListChildInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListChildInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListChildInOrgResponseData = { - id: number; - node_id: string; - url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - }; -}[]; - -type TeamsListChildLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListChildLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListChildLegacyResponseData = { - id: number; - node_id: string; - url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - }; -}[]; - -type TeamsListDiscussionCommentsInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListDiscussionCommentsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListDiscussionCommentsInOrgResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; - -type TeamsListDiscussionCommentsLegacyEndpoint = { - team_id: number; - - discussion_number: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListDiscussionCommentsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions/:discussion_number/comments"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListDiscussionCommentsLegacyResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; - -type TeamsListDiscussionsInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListDiscussionsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListDiscussionsInOrgResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; - -type TeamsListDiscussionsLegacyEndpoint = { - team_id: number; - /** - * Sorts the discussion comments by the date they were created. To return the oldest comments first, set to `asc`. Can be one of `asc` or `desc`. - */ - direction?: "asc" | "desc"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListDiscussionsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/discussions"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListDiscussionsLegacyResponseData = { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -}[]; - -type TeamsListForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/teams"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListForAuthenticatedUserResponseData = { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -}[]; - -type TeamsListIdPGroupsForLegacyEndpoint = { - team_id: number; -}; - -type TeamsListIdPGroupsForLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsListIdPGroupsForLegacyResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} - -type TeamsListIdPGroupsForOrgEndpoint = { - org: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListIdPGroupsForOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/team-sync/groups"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsListIdPGroupsForOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} - -type TeamsListIdPGroupsInOrgEndpoint = { - org: string; - - team_slug: string; -}; - -type TeamsListIdPGroupsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/team-sync/group-mappings"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsListIdPGroupsInOrgResponseData { - groups: { - group_id: string; - group_name: string; - group_description: string; - }[]; -} - -type TeamsListMembersInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListMembersInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListMembersInOrgResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type TeamsListMembersLegacyEndpoint = { - team_id: number; - /** - * Filters members returned by their role in the team. Can be one of: - * \* `member` - normal members of the team. - * \* `maintainer` - team maintainers. - * \* `all` - all members of the team. - */ - role?: "member" | "maintainer" | "all"; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListMembersLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/members"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListMembersLegacyResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type TeamsListPendingInvitationsInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListPendingInvitationsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListPendingInvitationsInOrgResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; - -type TeamsListPendingInvitationsLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListPendingInvitationsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/invitations"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListPendingInvitationsLegacyResponseData = { - id: number; - login: string; - email: string; - role: string; - created_at: string; - inviter: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - team_count: number; - invitation_team_url: string; -}[]; - -type TeamsListProjectsInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type TeamsListProjectsInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListProjectsInOrgResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -}[]; - -type TeamsListProjectsLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -} & RequiredPreview<"inertia">; - -type TeamsListProjectsLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/projects"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListProjectsLegacyResponseData = { - owner_url: string; - url: string; - html_url: string; - columns_url: string; - id: number; - node_id: string; - name: string; - body: string; - number: number; - state: string; - creator: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - created_at: string; - updated_at: string; - organization_permission: string; - private: boolean; - permissions: { - read: boolean; - write: boolean; - admin: boolean; - }; -}[]; - -type TeamsListReposInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListReposInOrgRequestOptions = { - method: "GET"; - url: "/orgs/:org/teams/:team_slug/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListReposInOrgResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type TeamsListReposLegacyEndpoint = { - team_id: number; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type TeamsListReposLegacyRequestOptions = { - method: "GET"; - url: "/teams/:team_id/repos"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type TeamsListReposLegacyResponseData = { - id: number; - node_id: string; - name: string; - full_name: string; - owner: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - private: boolean; - html_url: string; - description: string; - fork: boolean; - url: string; - archive_url: string; - assignees_url: string; - blobs_url: string; - branches_url: string; - collaborators_url: string; - comments_url: string; - commits_url: string; - compare_url: string; - contents_url: string; - contributors_url: string; - deployments_url: string; - downloads_url: string; - events_url: string; - forks_url: string; - git_commits_url: string; - git_refs_url: string; - git_tags_url: string; - git_url: string; - issue_comment_url: string; - issue_events_url: string; - issues_url: string; - keys_url: string; - labels_url: string; - languages_url: string; - merges_url: string; - milestones_url: string; - notifications_url: string; - pulls_url: string; - releases_url: string; - ssh_url: string; - stargazers_url: string; - statuses_url: string; - subscribers_url: string; - subscription_url: string; - tags_url: string; - teams_url: string; - trees_url: string; - clone_url: string; - mirror_url: string; - hooks_url: string; - svn_url: string; - homepage: string; - language: string; - forks_count: number; - stargazers_count: number; - watchers_count: number; - size: number; - default_branch: string; - open_issues_count: number; - is_template: boolean; - topics: string[]; - has_issues: boolean; - has_projects: boolean; - has_wiki: boolean; - has_pages: boolean; - has_downloads: boolean; - archived: boolean; - disabled: boolean; - visibility: string; - pushed_at: string; - created_at: string; - updated_at: string; - permissions: { - admin: boolean; - push: boolean; - pull: boolean; - }; - template_repository: { - [k: string]: unknown; - }; - temp_clone_token: string; - delete_branch_on_merge: boolean; - subscribers_count: number; - network_count: number; - license: { - key: string; - name: string; - spdx_id: string; - url: string; - node_id: string; - }; -}[]; - -type TeamsRemoveMemberLegacyEndpoint = { - team_id: number; - - username: string; -}; - -type TeamsRemoveMemberLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/members/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsRemoveMembershipForUserInOrgEndpoint = { - org: string; - - team_slug: string; - - username: string; -}; - -type TeamsRemoveMembershipForUserInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsRemoveMembershipForUserLegacyEndpoint = { - team_id: number; - - username: string; -}; - -type TeamsRemoveMembershipForUserLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/memberships/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsRemoveProjectInOrgEndpoint = { - org: string; - - team_slug: string; - - project_id: number; -}; - -type TeamsRemoveProjectInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsRemoveProjectLegacyEndpoint = { - team_id: number; - - project_id: number; -}; - -type TeamsRemoveProjectLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/projects/:project_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsRemoveRepoInOrgEndpoint = { - org: string; - - team_slug: string; - - owner: string; - - repo: string; -}; - -type TeamsRemoveRepoInOrgRequestOptions = { - method: "DELETE"; - url: "/orgs/:org/teams/:team_slug/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsRemoveRepoLegacyEndpoint = { - team_id: number; - - owner: string; - - repo: string; -}; - -type TeamsRemoveRepoLegacyRequestOptions = { - method: "DELETE"; - url: "/teams/:team_id/repos/:owner/:repo"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type TeamsUpdateDiscussionCommentInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - - comment_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; - -type TeamsUpdateDiscussionCommentInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsUpdateDiscussionCommentInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsUpdateDiscussionCommentLegacyEndpoint = { - team_id: number; - - discussion_number: number; - - comment_number: number; - /** - * The discussion comment's body text. - */ - body: string; -}; - -type TeamsUpdateDiscussionCommentLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/discussions/:discussion_number/comments/:comment_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsUpdateDiscussionCommentLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - created_at: string; - last_edited_at: string; - discussion_url: string; - html_url: string; - node_id: string; - number: number; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsUpdateDiscussionInOrgEndpoint = { - org: string; - - team_slug: string; - - discussion_number: number; - /** - * The discussion post's title. - */ - title?: string; - /** - * The discussion post's body text. - */ - body?: string; -}; - -type TeamsUpdateDiscussionInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsUpdateDiscussionInOrgResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsUpdateDiscussionLegacyEndpoint = { - team_id: number; - - discussion_number: number; - /** - * The discussion post's title. - */ - title?: string; - /** - * The discussion post's body text. - */ - body?: string; -}; - -type TeamsUpdateDiscussionLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id/discussions/:discussion_number"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsUpdateDiscussionLegacyResponseData { - author: { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - }; - body: string; - body_html: string; - body_version: string; - comments_count: number; - comments_url: string; - created_at: string; - last_edited_at: string; - html_url: string; - node_id: string; - number: number; - pinned: boolean; - private: boolean; - team_url: string; - title: string; - updated_at: string; - url: string; - reactions: { - url: string; - total_count: number; - "+1": number; - "-1": number; - laugh: number; - confused: number; - heart: number; - hooray: number; - }; -} - -type TeamsUpdateInOrgEndpoint = { - org: string; - - team_slug: string; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. When a team is nested, the `privacy` for parent teams cannot be `secret`. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; - -type TeamsUpdateInOrgRequestOptions = { - method: "PATCH"; - url: "/orgs/:org/teams/:team_slug"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsUpdateInOrgResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} - -type TeamsUpdateLegacyEndpoint = { - team_id: number; - /** - * The name of the team. - */ - name: string; - /** - * The description of the team. - */ - description?: string; - /** - * The level of privacy this team should have. Editing teams without specifying this parameter leaves `privacy` intact. The options are: - * **For a non-nested team:** - * \* `secret` - only visible to organization owners and members of this team. - * \* `closed` - visible to all members of this organization. - * **For a parent or child team:** - * \* `closed` - visible to all members of this organization. - */ - privacy?: "secret" | "closed"; - /** - * **Deprecated**. The permission that new repositories will be added to the team with when none is specified. Can be one of: - * \* `pull` - team members can pull, but not push to or administer newly-added repositories. - * \* `push` - team members can pull and push, but not administer newly-added repositories. - * \* `admin` - team members can pull, push and administer newly-added repositories. - */ - permission?: "pull" | "push" | "admin"; - /** - * The ID of a team to set as the parent team. - */ - parent_team_id?: number; -}; - -type TeamsUpdateLegacyRequestOptions = { - method: "PATCH"; - url: "/teams/:team_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface TeamsUpdateLegacyResponseData { - id: number; - node_id: string; - url: string; - html_url: string; - name: string; - slug: string; - description: string; - privacy: string; - permission: string; - members_url: string; - repositories_url: string; - parent: { - [k: string]: unknown; - }; - members_count: number; - repos_count: number; - created_at: string; - updated_at: string; - organization: { - login: string; - id: number; - node_id: string; - url: string; - repos_url: string; - events_url: string; - hooks_url: string; - issues_url: string; - members_url: string; - public_members_url: string; - avatar_url: string; - description: string; - name: string; - company: string; - blog: string; - location: string; - email: string; - twitter_username: string; - is_verified: boolean; - has_organization_projects: boolean; - has_repository_projects: boolean; - public_repos: number; - public_gists: number; - followers: number; - following: number; - html_url: string; - created_at: string; - type: string; - }; -} - -type UsersAddEmailForAuthenticatedEndpoint = { - /** - * Adds one or more email addresses to your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - */ - emails: string[]; -}; - -type UsersAddEmailForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersAddEmailForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; - -type UsersBlockEndpoint = { - username: string; -}; - -type UsersBlockRequestOptions = { - method: "PUT"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersCheckBlockedEndpoint = { - username: string; -}; - -type UsersCheckBlockedRequestOptions = { - method: "GET"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersCheckFollowingForUserEndpoint = { - username: string; - - target_user: string; -}; - -type UsersCheckFollowingForUserRequestOptions = { - method: "GET"; - url: "/users/:username/following/:target_user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersCheckPersonIsFollowedByAuthenticatedEndpoint = { - username: string; -}; - -type UsersCheckPersonIsFollowedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersCreateGpgKeyForAuthenticatedEndpoint = { - /** - * Your GPG key, generated in ASCII-armored format. See "[Generating a new GPG key](https://docs.github.com/articles/generating-a-new-gpg-key/)" for help creating a GPG key. - */ - armored_public_key?: string; -}; - -type UsersCreateGpgKeyForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersCreateGpgKeyForAuthenticatedResponseData { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -} - -type UsersCreatePublicSshKeyForAuthenticatedEndpoint = { - /** - * A descriptive name for the new key. Use a name that will help you recognize this key in your GitHub account. For example, if you're using a personal Mac, you might call this key "Personal MacBook Air". - */ - title?: string; - /** - * The public SSH key to add to your GitHub account. See "[Generating a new SSH key](https://docs.github.com/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent/)" for guidance on how to create a public SSH key. - */ - key?: string; -}; - -type UsersCreatePublicSshKeyForAuthenticatedRequestOptions = { - method: "POST"; - url: "/user/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersCreatePublicSshKeyForAuthenticatedResponseData { - key_id: string; - key: string; -} - -type UsersDeleteEmailForAuthenticatedEndpoint = { - /** - * Deletes one or more email addresses from your GitHub account. Must contain at least one email address. **Note:** Alternatively, you can pass a single email address or an `array` of emails addresses directly, but we recommend that you pass an object using the `emails` key. - */ - emails: string[]; -}; - -type UsersDeleteEmailForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersDeleteGpgKeyForAuthenticatedEndpoint = { - gpg_key_id: number; -}; - -type UsersDeleteGpgKeyForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/gpg_keys/:gpg_key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersDeletePublicSshKeyForAuthenticatedEndpoint = { - key_id: number; -}; - -type UsersDeletePublicSshKeyForAuthenticatedRequestOptions = { - method: "DELETE"; - url: "/user/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersFollowEndpoint = { - username: string; -}; - -type UsersFollowRequestOptions = { - method: "PUT"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersGetAuthenticatedEndpoint = {}; - -type UsersGetAuthenticatedRequestOptions = { - method: "GET"; - url: "/user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersGetAuthenticatedResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} - -type UsersGetByUsernameEndpoint = { - username: string; -}; - -type UsersGetByUsernameRequestOptions = { - method: "GET"; - url: "/users/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersGetByUsernameResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; -} - -type UsersGetContextForUserEndpoint = { - username: string; - /** - * Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, `pull_request`. **Required** when using `subject_id`. - */ - subject_type?: "organization" | "repository" | "issue" | "pull_request"; - /** - * Uses the ID for the `subject_type` you specified. **Required** when using `subject_type`. - */ - subject_id?: string; -}; - -type UsersGetContextForUserRequestOptions = { - method: "GET"; - url: "/users/:username/hovercard"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersGetContextForUserResponseData { - contexts: { - message: string; - octicon: string; - }[]; -} - -type UsersGetGpgKeyForAuthenticatedEndpoint = { - gpg_key_id: number; -}; - -type UsersGetGpgKeyForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/gpg_keys/:gpg_key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersGetGpgKeyForAuthenticatedResponseData { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -} - -type UsersGetPublicSshKeyForAuthenticatedEndpoint = { - key_id: number; -}; - -type UsersGetPublicSshKeyForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/keys/:key_id"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersGetPublicSshKeyForAuthenticatedResponseData { - key_id: string; - key: string; -} - -type UsersListEndpoint = { - /** - * The integer ID of the last User that you've seen. - */ - since?: string; -}; - -type UsersListRequestOptions = { - method: "GET"; - url: "/users"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type UsersListBlockedByAuthenticatedEndpoint = {}; - -type UsersListBlockedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/blocks"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListBlockedByAuthenticatedResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type UsersListEmailsForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListEmailsForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListEmailsForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; - -type UsersListFollowedByAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListFollowedByAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/following"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListFollowedByAuthenticatedResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type UsersListFollowersForAuthenticatedUserEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListFollowersForAuthenticatedUserRequestOptions = { - method: "GET"; - url: "/user/followers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListFollowersForAuthenticatedUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type UsersListFollowersForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListFollowersForUserRequestOptions = { - method: "GET"; - url: "/users/:username/followers"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListFollowersForUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type UsersListFollowingForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListFollowingForUserRequestOptions = { - method: "GET"; - url: "/users/:username/following"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListFollowingForUserResponseData = { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; -}[]; - -type UsersListGpgKeysForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListGpgKeysForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListGpgKeysForAuthenticatedResponseData = { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -}[]; - -type UsersListGpgKeysForUserEndpoint = { - username: string; - /** - * Results per page (max 100) - */ - per_page?: number; - /** - * Page number of the results to fetch. - */ - page?: number; -}; - -type UsersListGpgKeysForUserRequestOptions = { - method: "GET"; - url: "/users/:username/gpg_keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListGpgKeysForUserResponseData = { - id: number; - primary_key_id: string; - key_id: string; - public_key: string; - emails: { - email: string; - verified: boolean; - }[]; - subkeys: { - id: number; - primary_key_id: number; - key_id: string; - public_key: string; - emails: unknown[]; - subkeys: unknown[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; - }[]; - can_sign: boolean; - can_encrypt_comms: boolean; - can_encrypt_storage: boolean; - can_certify: boolean; - created_at: string; - expires_at: string; -}[]; - -type UsersListPublicEmailsForAuthenticatedEndpoint = { - /** - * Results per page (max 100) - */ - per_page?: number; + "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch": Operation< + "/repos/{owner}/{repo}/pulls/{pull_number}/update-branch", + "put", + "lydian" + >; /** - * Page number of the results to fetch. + * @see https://docs.github.com/rest/reference/activity#set-a-repository-subscription */ - page?: number; -}; - -type UsersListPublicEmailsForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/public_emails"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListPublicEmailsForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; - -type UsersListPublicKeysForUserEndpoint = { - username: string; + "PUT /repos/{owner}/{repo}/subscription": Operation< + "/repos/{owner}/{repo}/subscription", + "put" + >; /** - * Results per page (max 100) + * @see https://docs.github.com/v3/repos/#replace-all-repository-topics */ - per_page?: number; + "PUT /repos/{owner}/{repo}/topics": Operation< + "/repos/{owner}/{repo}/topics", + "put", + "mercy" + >; /** - * Page number of the results to fetch. + * @see https://docs.github.com/v3/repos/#enable-vulnerability-alerts */ - page?: number; -}; - -type UsersListPublicKeysForUserRequestOptions = { - method: "GET"; - url: "/users/:username/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListPublicKeysForUserResponseData = { - id: number; - key: string; -}[]; - -type UsersListPublicSshKeysForAuthenticatedEndpoint = { + "PUT /repos/{owner}/{repo}/vulnerability-alerts": Operation< + "/repos/{owner}/{repo}/vulnerability-alerts", + "put", + "dorian" + >; /** - * Results per page (max 100) + * @see https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-group */ - per_page?: number; + "PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}", + "put" + >; /** - * Page number of the results to fetch. + * @see https://docs.github.com/rest/reference/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user */ - page?: number; -}; - -type UsersListPublicSshKeysForAuthenticatedRequestOptions = { - method: "GET"; - url: "/user/keys"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersListPublicSshKeysForAuthenticatedResponseData = { - key_id: string; - key: string; -}[]; - -type UsersSetPrimaryEmailVisibilityForAuthenticatedEndpoint = { + "PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": Operation< + "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}", + "put" + >; /** - * Specify the _primary_ email address that needs a visibility change. + * @see https://docs.github.com/v3/scim/#set-scim-information-for-a-provisioned-user */ - email: string; + "PUT /scim/v2/organizations/{org}/Users/{scim_user_id}": Operation< + "/scim/v2/organizations/{org}/Users/{scim_user_id}", + "put" + >; /** - * Use `public` to enable an authenticated user to view the specified email address, or use `private` so this primary email address cannot be seen publicly. + * @see https://docs.github.com/rest/reference/teams#add-team-member-legacy */ - visibility: string; -}; - -type UsersSetPrimaryEmailVisibilityForAuthenticatedRequestOptions = { - method: "PATCH"; - url: "/user/email/visibility"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export type UsersSetPrimaryEmailVisibilityForAuthenticatedResponseData = { - email: string; - primary: boolean; - verified: boolean; - visibility: string; -}[]; - -type UsersUnblockEndpoint = { - username: string; -}; - -type UsersUnblockRequestOptions = { - method: "DELETE"; - url: "/user/blocks/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersUnfollowEndpoint = { - username: string; -}; - -type UsersUnfollowRequestOptions = { - method: "DELETE"; - url: "/user/following/:username"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -type UsersUpdateAuthenticatedEndpoint = { + "PUT /teams/{team_id}/members/{username}": Operation< + "/teams/{team_id}/members/{username}", + "put" + >; /** - * The new name of the user. + * @see https://docs.github.com/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy */ - name?: string; + "PUT /teams/{team_id}/memberships/{username}": Operation< + "/teams/{team_id}/memberships/{username}", + "put" + >; /** - * The publicly visible email address of the user. + * @see https://docs.github.com/v3/teams/#add-or-update-team-project-permissions-legacy */ - email?: string; + "PUT /teams/{team_id}/projects/{project_id}": Operation< + "/teams/{team_id}/projects/{project_id}", + "put", + "inertia" + >; /** - * The new blog URL of the user. + * @see https://docs.github.com/v3/teams/#add-or-update-team-repository-permissions-legacy */ - blog?: string; + "PUT /teams/{team_id}/repos/{owner}/{repo}": Operation< + "/teams/{team_id}/repos/{owner}/{repo}", + "put" + >; /** - * The new company of the user. + * @see https://docs.github.com/rest/reference/users#block-a-user */ - company?: string; + "PUT /user/blocks/{username}": Operation<"/user/blocks/{username}", "put">; /** - * The new location of the user. + * @see https://docs.github.com/rest/reference/users#follow-a-user */ - location?: string; + "PUT /user/following/{username}": Operation< + "/user/following/{username}", + "put" + >; /** - * The new hiring availability of the user. + * @see https://docs.github.com/rest/reference/apps#add-a-repository-to-an-app-installation */ - hireable?: boolean; + "PUT /user/installations/{installation_id}/repositories/{repository_id}": Operation< + "/user/installations/{installation_id}/repositories/{repository_id}", + "put" + >; /** - * The new short biography of the user. + * @see https://docs.github.com/rest/reference/interactions#set-interaction-restrictions-for-your-public-repositories */ - bio?: string; + "PUT /user/interaction-limits": Operation<"/user/interaction-limits", "put">; /** - * The new Twitter username of the user. + * @see https://docs.github.com/rest/reference/activity#star-a-repository-for-the-authenticated-user */ - twitter_username?: string; -}; - -type UsersUpdateAuthenticatedRequestOptions = { - method: "PATCH"; - url: "/user"; - headers: RequestHeaders; - request: RequestRequestOptions; -}; - -export interface UsersUpdateAuthenticatedResponseData { - login: string; - id: number; - node_id: string; - avatar_url: string; - gravatar_id: string; - url: string; - html_url: string; - followers_url: string; - following_url: string; - gists_url: string; - starred_url: string; - subscriptions_url: string; - organizations_url: string; - repos_url: string; - events_url: string; - received_events_url: string; - type: string; - site_admin: boolean; - name: string; - company: string; - blog: string; - location: string; - email: string; - hireable: boolean; - bio: string; - twitter_username: string; - public_repos: number; - public_gists: number; - followers: number; - following: number; - created_at: string; - updated_at: string; - private_gists: number; - total_private_repos: number; - owned_private_repos: number; - disk_usage: number; - collaborators: number; - two_factor_authentication: boolean; - plan: { - name: string; - space: number; - private_repos: number; - collaborators: number; - }; + "PUT /user/starred/{owner}/{repo}": Operation< + "/user/starred/{owner}/{repo}", + "put" + >; } - -type ActionsCreateWorkflowDispatchParamsInputs = { - [key: string]: ActionsCreateWorkflowDispatchParamsInputsKeyString; -}; -type ActionsCreateWorkflowDispatchParamsInputsKeyString = {}; -type AppsCreateInstallationAccessTokenParamsPermissions = { - [key: string]: AppsCreateInstallationAccessTokenParamsPermissionsKeyString; -}; -type AppsCreateInstallationAccessTokenParamsPermissionsKeyString = {}; -type ChecksCreateParamsOutput = { - title: string; - summary: string; - text?: string; - annotations?: ChecksCreateParamsOutputAnnotations[]; - images?: ChecksCreateParamsOutputImages[]; -}; -type ChecksCreateParamsOutputAnnotations = { - path: string; - start_line: number; - end_line: number; - start_column?: number; - end_column?: number; - annotation_level: "notice" | "warning" | "failure"; - message: string; - title?: string; - raw_details?: string; -}; -type ChecksCreateParamsOutputImages = { - alt: string; - image_url: string; - caption?: string; -}; -type ChecksCreateParamsActions = { - label: string; - description: string; - identifier: string; -}; -type ChecksSetSuitesPreferencesParamsAutoTriggerChecks = { - app_id: number; - setting: boolean; -}; -type ChecksUpdateParamsOutput = { - title?: string; - summary: string; - text?: string; - annotations?: ChecksUpdateParamsOutputAnnotations[]; - images?: ChecksUpdateParamsOutputImages[]; -}; -type ChecksUpdateParamsOutputAnnotations = { - path: string; - start_line: number; - end_line: number; - start_column?: number; - end_column?: number; - annotation_level: "notice" | "warning" | "failure"; - message: string; - title?: string; - raw_details?: string; -}; -type ChecksUpdateParamsOutputImages = { - alt: string; - image_url: string; - caption?: string; -}; -type ChecksUpdateParamsActions = { - label: string; - description: string; - identifier: string; -}; -type EnterpriseAdminProvisionAndInviteEnterpriseGroupParamsMembers = { - value: string; -}; -type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsName = { - givenName: string; - familyName: string; -}; -type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsEmails = { - value: string; - type: string; - primary: boolean; -}; -type EnterpriseAdminProvisionAndInviteEnterpriseUserParamsGroups = { - value?: string; -}; -type EnterpriseAdminSetInformationForProvisionedEnterpriseGroupParamsMembers = { - value: string; -}; -type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsName = { - givenName: string; - familyName: string; -}; -type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsEmails = { - value: string; - type: string; - primary: boolean; -}; -type EnterpriseAdminSetInformationForProvisionedEnterpriseUserParamsGroups = { - value?: string; -}; -type EnterpriseAdminUpdateAttributeForEnterpriseGroupParamsOperations = {}; -type EnterpriseAdminUpdateAttributeForEnterpriseUserParamsOperations = {}; -type GistsCreateParamsFiles = { - [key: string]: GistsCreateParamsFilesKeyString; -}; -type GistsCreateParamsFilesKeyString = { - content: string; -}; -type GistsUpdateParamsFiles = { - [key: string]: GistsUpdateParamsFilesKeyString; -}; -type GistsUpdateParamsFilesKeyString = { - content: string; - filename: string; -}; -type GitCreateCommitParamsAuthor = { - name?: string; - email?: string; - date?: string; -}; -type GitCreateCommitParamsCommitter = { - name?: string; - email?: string; - date?: string; -}; -type GitCreateTagParamsTagger = { - name?: string; - email?: string; - date?: string; -}; -type GitCreateTreeParamsTree = { - path?: string; - mode?: "100644" | "100755" | "040000" | "160000" | "120000"; - type?: "blob" | "tree" | "commit"; - sha?: string | null; - content?: string; -}; -type OrgsCreateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -type OrgsUpdateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -type PullsCreateReviewParamsComments = { - path: string; - position: number; - body: string; -}; -type ReposCreateDispatchEventParamsClientPayload = { - [key: string]: ReposCreateDispatchEventParamsClientPayloadKeyString; -}; -type ReposCreateDispatchEventParamsClientPayloadKeyString = {}; -type ReposCreateOrUpdateFileContentsParamsCommitter = { - name: string; - email: string; -}; -type ReposCreateOrUpdateFileContentsParamsAuthor = { - name: string; - email: string; -}; -type ReposCreatePagesSiteParamsSource = { - branch: string; - path?: "/" | "/docs"; -}; -type ReposCreateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -type ReposDeleteFileParamsCommitter = { - name?: string; - email?: string; -}; -type ReposDeleteFileParamsAuthor = { - name?: string; - email?: string; -}; -type ReposUpdateBranchProtectionParamsRequiredStatusChecks = { - strict: boolean; - contexts: string[]; -}; -type ReposUpdateBranchProtectionParamsRequiredPullRequestReviews = { - dismissal_restrictions?: ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions; - dismiss_stale_reviews?: boolean; - require_code_owner_reviews?: boolean; - required_approving_review_count?: number; -}; -type ReposUpdateBranchProtectionParamsRequiredPullRequestReviewsDismissalRestrictions = { - users?: string[]; - teams?: string[]; -}; -type ReposUpdateBranchProtectionParamsRestrictions = { - users: string[]; - teams: string[]; - apps?: string[]; -}; -type ReposUpdateInformationAboutPagesSiteParamsSource = { - branch: string; - path: "/" | "/docs"; -}; -type ReposUpdatePullRequestReviewProtectionParamsDismissalRestrictions = { - users?: string[]; - teams?: string[]; -}; -type ReposUpdateWebhookParamsConfig = { - url: string; - content_type?: string; - secret?: string; - insecure_ssl?: string; -}; -type ScimProvisionAndInviteUserParamsName = { - givenName: string; - familyName: string; -}; -type ScimProvisionAndInviteUserParamsEmails = { - value: string; - type: string; - primary: boolean; -}; -type ScimSetInformationForProvisionedUserParamsName = { - givenName: string; - familyName: string; -}; -type ScimSetInformationForProvisionedUserParamsEmails = { - value: string; - type: string; - primary: boolean; -}; -type ScimUpdateAttributeForUserParamsOperations = {}; -type TeamsCreateOrUpdateIdPGroupConnectionsInOrgParamsGroups = { - group_id: string; - group_name: string; - group_description: string; -}; -type TeamsCreateOrUpdateIdPGroupConnectionsLegacyParamsGroups = { - group_id: string; - group_name: string; - group_description: string; -}; diff --git a/test.ts b/test.ts index 8fad9a265..14b6ce877 100644 --- a/test.ts +++ b/test.ts @@ -1,43 +1,8 @@ // This code is not executed, only statically analyzed using `tsc --noEmit` -import { EndpointInterface, RequestMethod, RequestInterface } from "./src"; +import { EndpointInterface } from "./src"; const endpoint = null as EndpointInterface; - -const fooOptions = { foo: "bar" }; -const bazOptions = { baz: "daz" }; -const overrideOptions = { foo: "newbar" }; -const routeOptions = { method: "GET", url: "/foo" }; - -const test = endpoint.defaults(fooOptions); -const test2 = test.defaults(bazOptions); -const test3 = test2.defaults(overrideOptions); -const test4 = test3.defaults(routeOptions); - function assertString(type: string) {} -function assertRequestMethod(type: RequestMethod) {} - -assertString(test.DEFAULTS.foo); -assertString(test2.DEFAULTS.foo); -assertString(test2.DEFAULTS.baz); -assertString(test3.DEFAULTS.foo); -assertRequestMethod(test4.DEFAULTS.method); - -const result4 = test4({ method: "PUT", url: "/funk", headers: { foo: "bar" } }); -assertString(result4.headers.foo); -// "url" parameter is required -// endpoint({}); -// "url" is optional if set on defaults -assertString(test4({}).url); - -const test5 = test4.defaults({ - method: "PUT", - url: "/funk", - headers: { foo: "bar" }, -}); - -assertRequestMethod(test5({}).method); -assertString(test5({}).url); -assertString(test5({}).headers.foo); const createIssueOptions = { owner: "octocat", @@ -47,44 +12,14 @@ const createIssueOptions = { "x-foo": "bar", }, }; -const result5 = test5("POST /repos/:owner/:repo/issues", createIssueOptions); -const result5merge = test5.merge( +const result = endpoint("POST /repos/:owner/:repo/issues", createIssueOptions); +const resultMerge = endpoint.merge( "POST /repos/:owner/:repo/issues", createIssueOptions ); -const result5merge2 = test5.merge(createIssueOptions); - -assertString(result5.headers["x-foo"]); -assertString(result5merge.title); -assertString(result5merge.headers["x-foo"]); -assertString(result5merge2.url); - -const staticParseResult = endpoint.parse({ - baseUrl: "https://api.github.com", - method: "GET", - url: "/funk", - mediaType: { - format: "", - previews: [], - }, - headers: { - "user-agent": "MyApp/1.2.3", - accept: "foo", - "x-foo": "bar", - }, -}); - -assertString(staticParseResult.headers["x-foo"]); - -const request = null as RequestInterface; - -const rtest = request.defaults(fooOptions); -const rtest2 = rtest.defaults(bazOptions); -const rtest3 = rtest2.defaults(overrideOptions); -const rtest4 = rtest3.defaults(routeOptions); +const resultMerge2 = endpoint.merge(createIssueOptions); -assertString(rtest.endpoint.DEFAULTS.foo); -assertString(rtest2.endpoint.DEFAULTS.foo); -assertString(rtest2.endpoint.DEFAULTS.baz); -assertString(rtest3.endpoint.DEFAULTS.foo); -assertRequestMethod(rtest4.endpoint.DEFAULTS.method); +assertString(result.headers["x-foo"]); +assertString(resultMerge.title); +assertString(resultMerge.headers["x-foo"]); +assertString(resultMerge2.url);